Const qualifiers for entities, there needed

This commit is contained in:
Andrew nuark G 2020-12-18 20:17:52 +07:00
parent cff62f91be
commit ee4b01713f
11 changed files with 27 additions and 27 deletions

View file

@ -23,9 +23,9 @@ public:
user_entity() = default;
user_entity(const QString &login, const QString &password, UserRole role);
entity_id id();
const QString login();
UserRole role();
entity_id id() const;
const QString login() const;
UserRole role() const;
bool verify_password(const QString &password) const;
void serialize(QDataStream &output);