add jpa to model