-
Notifications
You must be signed in to change notification settings - Fork 1
/
hall.h
39 lines (28 loc) · 865 Bytes
/
hall.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
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef HALL_H
#define HALL_H
#include <QString>
#include <QSqlQueryModel>
#include <QSqlQuery>
class Hall
{
//int id,nb_reservations,number,nb_places;
QString name,address,email,id,nb_reservations,number,nb_places,price;
public:
Hall();
Hall(QString,QString,QString,QString,QString,QString,QString,QString);
bool addHall();
bool deleteHall();
bool updateHall();
QSqlQueryModel* tableView();
QSqlQuery statHall();
QSqlQuery findHall();
QString getId(){ return id;}
QString getNb_reservations() { return nb_reservations; }
QString getName() { return name ; }
QString getAddress() { return address;}
QString getEmail() { return email ;}
QString getNumber() {return number ;}
QString getPrice() { return price;}
QString getNb_places() { return nb_places ;}
};
#endif // HALL_H