Our special classes, in general, realization must include all fields from our DB table or we can just take models part(fields in them) and create the new one class with deleting models.
It should be like:
Channel:
id, name, amount of users
etc, and all main fields must be in the same DB table
Acceptance Criteria:
Also this class must inherit ORM interface.
Example: Channel class must also has all special methods from PGRepositories.hpp
This special methods should be changed in the way, when in this methods we will use only CRUD methods from interface. It will help us use this realization in the other repository instances
P.S
We can create class constructor in the way of full initialization of fields, or use get(),set() methods or create both functionality
Description:
Our special classes, in general, realization must include all fields from our DB table or we can just take models part(fields in them) and create the new one class with deleting models. It should be like: Channel: id, name, amount of users etc, and all main fields must be in the same DB table
Acceptance Criteria:
P.S
We can create class constructor in the way of full initialization of fields, or use get(),set() methods or create both functionality