I have a case class like :
case class PA( id: Long, name: String, level: Int, ......., path: Seq[ParentPath] )
and ParentPath class is like :