I have a project which it's domain contain following classes:
Courier
Customer
Food
Order
Customer
PrimitiveElement
ResturantCustomerFacade
ResturantOrderFacade
And My database also has these tables:
Courier
Customer
CustomizedFood
CustomizedPrimitivePrice
FoodType
Order
PrimitiveType
ValueType
and the classes which hibernate makes for above tables has same name of them. Should I use the classes which hibernate makes in my domain although I can not apply my structure of classes because of hibernate class structure. Or I have to use my own domain classes and hibernate classes are just for databse operations?