generated from Sithas/conan_template
Бор DAO и User Entity
This commit is contained in:
@@ -11,6 +11,11 @@ const std::string& User::GetGUID() const noexcept
|
||||
return guid_;
|
||||
}
|
||||
|
||||
void User::SetGUID(const std::string& new_guid)
|
||||
{
|
||||
guid_ = new_guid;
|
||||
}
|
||||
|
||||
const std::string& User::GetLogin() const noexcept
|
||||
{
|
||||
return login_;
|
||||
|
||||
+3
-1
@@ -6,10 +6,12 @@ class User
|
||||
{
|
||||
std::string guid_;
|
||||
std::string login_;
|
||||
std::string hashed_password_;
|
||||
const std::string hashed_password_;
|
||||
public:
|
||||
[[nodiscard]] const std::string& GetGUID() const noexcept;
|
||||
|
||||
void SetGUID(const std::string& new_guid);
|
||||
|
||||
[[nodiscard]] const std::string& GetLogin() const noexcept;
|
||||
|
||||
void SetLogin(const std::string& login);
|
||||
|
||||
Reference in New Issue
Block a user