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

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

public:
	Hall();
	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);
};

#endif