IEntity with childs and type