mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
PSQL id 06.11.2024
This commit is contained in:
@@ -1,62 +1,31 @@
|
||||
#ifndef TRAINEE_H
|
||||
#define TRAINEE_H
|
||||
|
||||
#include <QString>
|
||||
#include <QList>
|
||||
#include "DataBaseLMS_global.h"
|
||||
|
||||
class DATABASELMS_EXPORT Trainee
|
||||
#include "user.h"
|
||||
#include "group.h"
|
||||
#include "computer.h"
|
||||
#include "task.h"
|
||||
|
||||
class DATABASELMS_EXPORT Trainee: public User
|
||||
{
|
||||
public:
|
||||
Trainee();
|
||||
|
||||
void setID(int trainee_id){this->trainee_id = trainee_id;}
|
||||
int getID(){return trainee_id;}
|
||||
void setGroup(Group group){this->group = group;}
|
||||
Group getGroup(){return group;}
|
||||
|
||||
void setName(QString name){this->name = name;}
|
||||
QString getName(){return name;}
|
||||
void setComputer(Computer computer){this->computer = computer;}
|
||||
Computer getComputer(){return computer;}
|
||||
|
||||
void setLogin(QString login){this->login = login;}
|
||||
QString getLogin(){return login;}
|
||||
|
||||
void setPassword(QString password){this->password = password;}
|
||||
QString getPassword(){return password;}
|
||||
|
||||
void setLearnClass(QString learnClass){this->learnClass = learnClass;}
|
||||
QString getLearnClass(){return learnClass;}
|
||||
|
||||
void setComputer(QString computer){this->computer = computer;}
|
||||
QString getComputer(){return computer;}
|
||||
|
||||
void setIpAddress(QString ipAddress){this->ipAddress = ipAddress;}
|
||||
QString getIpAddress(){return ipAddress;}
|
||||
|
||||
void setGroup(QString group){this->group = group;}
|
||||
QString getGroup(){return group;}
|
||||
|
||||
void setArchived(bool archived){this->archived = archived;}
|
||||
bool getArchived(){return archived;}
|
||||
|
||||
void setLoggedIn(bool loggedIn){this->loggedIn = loggedIn;}
|
||||
bool getLoggedIn(){return loggedIn;}
|
||||
|
||||
void setTasks(QStringList tasks){this->tasks = tasks;}
|
||||
QStringList getTasks(){return tasks;}
|
||||
void setTasks(QList<Task> tasks){this->tasks = tasks;}
|
||||
QList<Task> getTasks(){return tasks;}
|
||||
|
||||
private:
|
||||
int trainee_id;
|
||||
QString name;
|
||||
QString login;
|
||||
QString password;
|
||||
bool archived;
|
||||
bool loggedIn;
|
||||
QString group;
|
||||
|
||||
QString learnClass;
|
||||
QString computer;
|
||||
QString ipAddress;
|
||||
|
||||
QStringList tasks;
|
||||
Group group;
|
||||
Computer computer;
|
||||
QList<Task> tasks;
|
||||
};
|
||||
|
||||
#endif // TRAINEE_H
|
||||
|
||||
Reference in New Issue
Block a user