-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathitems.h
56 lines (51 loc) · 1.15 KB
/
items.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#ifndef ITEMS_H
#define ITEMS_H
#include <QString>
class items
{
public:
int getId();
QString getLogin();
QString getBrand();
QString getModel();
QString getGeneration();
int getYear();
QString getEngineVolume();
QString getGearboxType();
QString getBody();
QString getEngineType();
QString getDriveUnit();
int getMileage();
int getPrice();
QString getBooking();
void setId(int);
void setLogin(QString);
void setBrand(QString);
void setModel(QString);
void setGeneration(QString);
void setYear(int);
void setEngineVolume(QString);
void setGearboxType(QString);
void setBody(QString);
void setEngineType(QString);
void setDriveUnit(QString);
void setMileage(int);
void setPrice(int);
void setBooking(QString booking = "Не забронировано");
private:
int id;
QString login;
QString brand;
QString model;
QString generation;
int year;
QString engineVolume;
QString gearboxType;
QString body;
QString engineType;
QString driveUnit;
int mileage;
int price;
QString booking;
};
#endif // ITEMS_H