Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / Hall.h
diff options
context:
space:
mode:
Commitb844597fd23bc57aa97e231fc90eecfd6322cecc (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 08:28:27 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 08:28:27 +0300
Files86a4112ecfa1e3a54dbcf44a7ddf37575ba4aa39 /src/Models/Hall.h
FMI-OOP-P1_TicketSystem-b844597fd23bc57aa97e231fc90eecfd6322cecc.tar
FMI-OOP-P1_TicketSystem-b844597fd23bc57aa97e231fc90eecfd6322cecc.tar.gz
FMI-OOP-P1_TicketSystem-b844597fd23bc57aa97e231fc90eecfd6322cecc.zip
Parent0910afb91c8f9672be1d6184f47fb75947ea14f1 (diff)
Reorganized whole architecture
1 files changed, 25 insertions, 0 deletions
-rw-r--r--src/Models/Hall.h25
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