database model, hibernate