Website Summary Files Commits Branches @commit @diff @stats
path: root / src / EventSystem / Event.cpp
diff options
context:
space:
mode:
Commit3911efcb1588481f9d95c91e39fe470bcc5a50a5 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-06 09:46:16 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-06 09:46:16 +0300
Files5f74062c4e61395a23b68b1f13fbbde4af44933e /src/EventSystem/Event.cpp
FMI-OOP-P1_TicketSystem-3911efcb1588481f9d95c91e39fe470bcc5a50a5.tar
FMI-OOP-P1_TicketSystem-3911efcb1588481f9d95c91e39fe470bcc5a50a5.tar.gz
FMI-OOP-P1_TicketSystem-3911efcb1588481f9d95c91e39fe470bcc5a50a5.zip
Parentbb77a6c8a62f677f27d9d593b5f2a45514bdb4f6 (diff)
Autocommit at 06.05.2022 @ 09:46
1 files changed, 8 insertions, 0 deletions
-rw-r--r--src/EventSystem/Event.cpp8
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;
}