Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / Hall.h
diff options
context:
space:
mode:
Commit8f501c925376f349cacf239c3670536787366a10 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 09:01:59 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 09:01:59 +0300
Files09ae3b476ef4527d8b290b0eeee1fc69f2ceec02 /src/Models/Hall.h
FMI-OOP-P1_TicketSystem-8f501c925376f349cacf239c3670536787366a10.tar
FMI-OOP-P1_TicketSystem-8f501c925376f349cacf239c3670536787366a10.tar.gz
FMI-OOP-P1_TicketSystem-8f501c925376f349cacf239c3670536787366a10.zip
Parent18923a8c3a87aa1d7e4ef7c033d5359baeb390c8 (diff)
Autocommit at 07.05.2022 @ 09:01
1 files changed, 7 insertions, 7 deletions
-rw-r--r--src/Models/Hall.h14
diff --git a/src/Models/Hall.h b/src/Models/Hall.h
index bd2f82a..346a063 100644
--- a/src/Models/Hall.h
+++ b/src/Models/Hall.h
@@ -2,19 +2,19 @@
#define HEADER_HALL
class Hall {
- int index;
- unsigned rowCount;
+ int number;
+ unsigned rows;
unsigned seatsPerRow;
public:
Hall();
- Hall(int index, unsigned rowCount, unsigned seatsPerRow);
+ Hall(int number, unsigned rows, unsigned seatsPerRow);
- int get_index() const;
- void set_index(int index);
+ int get_number() const;
+ void set_number(int number);
- unsigned get_rowCount() const;
- void set_rowCount(unsigned rowCount);
+ unsigned get_rows() const;
+ void set_rows(unsigned rows);
unsigned get_seatsPerRow() const;
void set_seatsPerRow(unsigned seatsPerRow);