forked from 3rd-year-CSE-20/SIS_GUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.h
26 lines (22 loc) · 704 Bytes
/
admin.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef ADMIN_H
#define ADMIN_H
#include "person.h"
#include <QVector>
#include "course.h"
class Admin : public Person{
public:
Admin();
Admin(QString first_name, QString last_name, QString gendre, QString picture, QString birth_date, QString address,
QString college_id, QString password);
void setAcademicYear(QString academic_year);
QString getAcademicYear();
void setDepartment(QString department);
QString getDepartment();
bool save();
void delete1();
static bool isInDatabase(long long id);
static QVector<Admin> all();
static Admin find(long long id);
static QVector<Admin> where(QString column, QString value);
};
#endif // ADMIN_H