Daos and entities for JPA