I am working on a project of an online service provider.
I have tables for admin, agent, customer and tables for data storage like city, services, category, sub-category, gender.
I have created classes for the
But should I create classes for
category, etc or use as methods in
note:- I want to perform
CRUD operation for
Is it good to have one class for each table in a database? If not then please explain how to avoid this situation? Can I use enum or ArrayList instead of class for data storage?