-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVacationRental.h
51 lines (48 loc) · 978 Bytes
/
VacationRental.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
#ifndef VACATIONRENTAL_H
#define VACATIONRENTAL_H
#include <string>
#include <iostream>
using namespace std;
class VacationRental {
private:
//int id;
string name;
int bedroom;
int bathroom;
int capacity;
double price;
bool kitchen;
bool pool;
bool aircond;
int nearbyAttractions;
string address;
string postcode;
public:
//Getters
//int getId() const;
string getName() const;
int getBedroom() const;
int getBathroom() const;
int getCapacity() const;
double getPrice() const;
bool hasKitchen() const;
bool hasPool() const;
bool hasAircond() const;
int getNearbyAttractions() const;
string getAddress() const;
string getPostcode() const;
//Setters
//void setId(int);
void setName(string);
void setBedroom(int);
void setBathroom(int);
void setCapacity(int);
void setPrice(double);
void setKitchen(bool);
void setPool(bool);
void setAircond(bool);
void setNearbyAttractions(int);
void setAddress(string);
void setPostcode(string);
};
#endif