sea_transport_project/userentity.h
2020-09-10 00:43:40 +07:00

22 lines
384 B
C++

#ifndef USERENTITY_H
#define USERENTITY_H
#include <QString>
typedef long long pwd_type;
class UserEntity
{
QString _login;
pwd_type _password_hash;
enum UserRoleEnum {
ADMINISTRATOR = 0,
DISPATCHER = 1,
CAPTAIN = 2
} _role;
public:
UserEntity(QString login, QString password, UserEntity::UserRoleEnum role);
};
#endif // USERENTITY_H