#pragma once #include "../databasemanager.h" #include "../../core/models/folder.h" #include #include class FolderDao { public: static bool insert(const Folder& folder); static bool update(const Folder& folder); static bool remove(int id); static bool removeByAccountId(int accountId); static std::optional findById(int id); static QVector findAll(); static QVector findByAccountId(int accountId); };