support entity inheritance