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

@@ -9,7 +9,7 @@
#include "databaselms.h"
class INSTRUCTORSANDTRAINEES_EXPORT DataBaseInstructors : QObject
class DataBaseInstructors : QObject
{
Q_OBJECT
@@ -24,18 +24,18 @@ public:
QList<Instructor> getListInstructors(){ return listOfInstructors; } //Для загрузки
Instructor getInstructor(QString name);
Instructor getInstructor(int id);
QString getNameInstructorByLogin(QString login);
QString getAuthorizedInstructorName();
//QString getAuthorizedInstructorName();
QString newInstructor();
void deleteInstructor(QString name);
bool editInstructor(QString name, Instructor instructor);
int newInstructor();
int deleteInstructor(int id);
int editInstructor(Instructor instructor);
bool isAdmin(QString name);
bool isArchived(QString name);
bool isAdmin(int id);
bool isArchived(int id);
private: