jpa support with entity annotations
model modification to fit with jpa