From b844597fd23bc57aa97e231fc90eecfd6322cecc Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 7 May 2022 08:28:27 +0300 Subject: Reorganized whole architecture --- src/Models/Hall.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/Models/Hall.h (limited to 'src/Models/Hall.h') diff --git a/src/Models/Hall.h b/src/Models/Hall.h new file mode 100644 index 0000000..bd2f82a --- /dev/null +++ b/src/Models/Hall.h @@ -0,0 +1,25 @@ +#ifndef HEADER_HALL +#define HEADER_HALL + +class Hall { + int index; + unsigned rowCount; + unsigned seatsPerRow; + +public: + Hall(); + Hall(int index, unsigned rowCount, unsigned seatsPerRow); + + int get_index() const; + void set_index(int index); + + unsigned get_rowCount() const; + void set_rowCount(unsigned rowCount); + + unsigned get_seatsPerRow() const; + void set_seatsPerRow(unsigned seatsPerRow); + + int compare(const Hall& other); +}; + +#endif -- cgit v1.3.1-23-gd82d