-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDBUser.h
More file actions
39 lines (28 loc) · 909 Bytes
/
DBUser.h
File metadata and controls
39 lines (28 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef DBUSER_H
#define DBUSER_H
#include <QString>
#include <QObject>
namespace DBEntity {
class DBUser {
private:
QString a_login;
QString a_password;
//QString a_userpic_path;
QByteArray a_userpic;
quint32 a_rating;
bool a_is_deleted;
public:
explicit DBUser(const QString& login_, const QString& password_, const QByteArray& userpic_, const quint32& rating_, const bool& is_deleted_);
QString getLogin() const;
void setLogin(const QString& login_);
QString getPassword() const;
void setPassword(const QString& password_);
QByteArray getUserpic() const;
void setUserpic(const QByteArray& userpic_);
quint32 getRating() const;
void setRating(const quint32& rating_);
bool isDeleted() const;
void setIsDeleted(const bool& deleted);
};
}
#endif