Hibernate model mapping.