mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
rename0
This commit is contained in:
24
DataBaseInterface/computer.h
Normal file
24
DataBaseInterface/computer.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef COMPUTER_H
|
||||
#define COMPUTER_H
|
||||
|
||||
#include "basicentity.h"
|
||||
#include "classroom.h"
|
||||
|
||||
class DATABASELMS_EXPORT Computer: public BasicEntity
|
||||
{
|
||||
public:
|
||||
Computer();
|
||||
Computer(int id, QString name, QString ipAddress, Classroom classroom);
|
||||
|
||||
void setClassroom(Classroom classroom){this->classroom = classroom;}
|
||||
Classroom getClassroom(){return classroom;}
|
||||
|
||||
void setIpAddress(QString ipAddress){this->ipAddress = ipAddress;}
|
||||
QString getIpAddress(){return ipAddress;}
|
||||
|
||||
private:
|
||||
Classroom classroom;
|
||||
QString ipAddress;
|
||||
};
|
||||
|
||||
#endif // COMPUTER_H
|
||||
Reference in New Issue
Block a user