diff options
Autocommit at 06.05.2022 @ 09:46
1 files changed, 8 insertions, 0 deletions
| -rw-r--r-- | src/EventSystem/Event.cpp | 8 |
diff --git a/src/EventSystem/Event.cpp b/src/EventSystem/Event.cpp index f6c63a1..9bab15b 100644 --- a/src/EventSystem/Event.cpp +++ b/src/EventSystem/Event.cpp @@ -10,6 +10,14 @@ Event::Event(const Hall* hall, String name, Date date) : tickets(), reservations this->date = date; } +const OrderedList<Ticket>& Event::get_tickets() const { + return tickets; +} + +const OrderedList<Reservation>& Event::get_reservations() const { + return reservations; +} + const Hall& Event::get_hall() const { return *hall; } |
