#ifndef CATEGORYDAO_H #define CATEGORYDAO_H #include #include #include #include "queryoption.h" #include "../category.h" #include "../page.h" class CategoryDao { public: CategoryDao(); virtual void save(const Category &c) = 0; virtual std::vector fetchList(QueryOption o) = 0; virtual std::optional find(std::string name) = 0; virtual void deleteCategory(std::string name) = 0; virtual std::vector fetchMembers(std::string name, QueryOption o) = 0; }; #endif // CATEGORYDAO_H