could we define the entity class for the admin extension to make it work with orm? or is there anything more involved?