support entity inheritance

the properties of the inherited classes were not processed. Now they works.