Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / Hall.h
blob: a164a0b4c2bfa2893b1cb1b236868bf4a436caf5 (plain) (blame)
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 HEADER_HALL
#define HEADER_HALL

class Hall {
	int number;
	unsigned rows;
	unsigned seatsPerRow;

public:
	Hall();
	Hall(int number);
	Hall(int number, unsigned rows, unsigned seatsPerRow);

	int get_number() const;
	void set_number(int number);

	unsigned get_rows() const;
	void set_rows(unsigned rows);

	unsigned get_seatsPerRow() const;
	void set_seatsPerRow(unsigned seatsPerRow);

	int compare(const Hall& other) const;
};

#endif