Бор DAO и User Entity

This commit is contained in:
Антон
2025-08-25 17:22:03 +03:00
parent 8cb1023d68
commit f34c875ba4
6 changed files with 135 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
#include "MySQLUserDAO.h"
using namespace std;
using namespace string_literals;
namespace uad
{
MySQLUserDAO::MySQLUserDAO(mysqlx::Session& session): session_(session)
{
}
string MySQLUserDAO::Create(const User& created_user)
{
return ""s;
}
optional<User> MySQLUserDAO::GetByGUID(string guid)
{
return nullopt;
}
vector<User> MySQLUserDAO::GetAll()
{
return {};
}
bool MySQLUserDAO::Update(const User& u)
{
return false;
}
bool MySQLUserDAO::Delete(string id)
{
return false;
}
} // uad