PSQL id 06.11.2024

This commit is contained in:
krivoshein
2024-11-06 16:06:32 +03:00
parent 0f1fa71c33
commit f4ca58ce91
89 changed files with 1131 additions and 763 deletions

View 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