Class members to Entity