-
Notifications
You must be signed in to change notification settings - Fork 1
/
reservation.h
41 lines (37 loc) · 1.06 KB
/
reservation.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
#ifndef RESERVATION_H
#define RESERVATION_H
#include <iostream>
#include <vector>
#include "custom.h"
using namespace std;
class Reservation
{
int res_id;
string status;
string name;
string idnumber;
string date_current; //yyyy-mm-dd
string date_from;
string date_to;
vector<int> bike_ids;
string comment;
public:
Reservation();
Reservation(int res_id, string status, string name, string idnumber, string date_current, string date_from, string date_to, vector<int> bike_ids, string comment);
int getRes_id() const;
string getName() const;
string getIdnumber() const;
string getDate_current() const;
string getDate_from() const;
void setDate_from(const string &value);
string getDate_to() const;
void setDate_to(const string &value);
vector<int> getBike_ids() const;
void setBike_ids(const vector<int> &value);
string getComment() const;
void setComment(const string &value);
string getStatus() const;
void setStatus(const string &value);
void print();
};
#endif // RESERVATION_H