Map Entity Object to another object

Hi guys,

i have an user entity model. Now i want to create another model which calls “Resource”. This model has only a part of the attributes from the user model but should get the data from the user database table.

Is there a way like in TYPO3 where i can map my model in typoscript to another model?

Thanks for your help.

Look at the media package for inspiration. Images and ImageResources extend the Asset DomainModel.

Regards Martin