13 const std::string &
uuid();
14 void setUuid(std::string sUuid);
19 const std::string &
name();
20 void setName(std::string sName);
33 void fillFrom(nlohmann::json &jsonLeak);
48 #endif // MODEL_LEAK_H int m_nGameId
Definition: model_leak.h:37
std::string m_sUpdated
Definition: model_leak.h:44
int localId()
Definition: model_leak.cpp:20
const std::string & uuid()
Definition: model_leak.cpp:32
void setUuid(std::string sUuid)
Definition: model_leak.cpp:38
std::string m_sCreated
Definition: model_leak.h:43
const std::string & created()
Definition: model_leak.cpp:104
void setName(std::string sName)
Definition: model_leak.cpp:74
Definition: model_leak.h:7
int score()
Definition: model_leak.cpp:92
int sold()
Definition: model_leak.cpp:128
std::string m_sName
Definition: model_leak.h:40
const std::string & content()
Definition: model_leak.cpp:80
void setSold(int nSold)
Definition: model_leak.cpp:134
void setCreated(std::string sCreated)
Definition: model_leak.cpp:110
int gameId()
Definition: model_leak.cpp:56
void setScore(int nScore)
Definition: model_leak.cpp:98
void setUpdated(std::string sUpdated)
Definition: model_leak.cpp:122
const std::string & updated()
Definition: model_leak.cpp:116
ModelLeak()
Definition: model_leak.cpp:6
void setContent(std::string sContent)
Definition: model_leak.cpp:86
int m_nSold
Definition: model_leak.h:45
std::string m_sGameUuid
Definition: model_leak.h:39
void fillFrom(nlohmann::json &jsonLeak)
Definition: model_leak.cpp:154
std::string m_sContent
Definition: model_leak.h:41
const std::string & name()
Definition: model_leak.cpp:68
const std::string & gameUuid()
Definition: model_leak.cpp:44
int m_nLocalId
Definition: model_leak.h:36
void setLocalId(int nId)
Definition: model_leak.cpp:26
void setGameId(int nGameId)
Definition: model_leak.cpp:62
std::string m_sUuid
Definition: model_leak.h:38
int m_nScore
Definition: model_leak.h:42
std::string TAG
Definition: model_leak.h:35
nlohmann::json toJson()
Definition: model_leak.cpp:140
void setGameUuid(std::string nGameUuid)
Definition: model_leak.cpp:50