mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
refact1
This commit is contained in:
24
LibDataBaseInterface/basicentity.h
Normal file
24
LibDataBaseInterface/basicentity.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef BASICENTITY_H
|
||||
#define BASICENTITY_H
|
||||
|
||||
#include <QString>
|
||||
#include "DataBaseLMS_global.h"
|
||||
|
||||
class BasicEntity
|
||||
{
|
||||
public:
|
||||
BasicEntity();
|
||||
BasicEntity(int id, QString name);
|
||||
|
||||
void setID(int id){this->id = id;}
|
||||
int getID(){return id;}
|
||||
|
||||
void setName(QString name){this->name = name;}
|
||||
QString getName(){return name;}
|
||||
|
||||
protected:
|
||||
int id;
|
||||
QString name;
|
||||
};
|
||||
|
||||
#endif // BASICENTITY_H
|
||||
Reference in New Issue
Block a user