added parent field for entity classes