diff options
Autocommit at 02.05.2022 @ 20:20
1 files changed, 13 insertions, 0 deletions
| -rw-r--r-- | src/EventSystem/Event.h | 13 |
diff --git a/src/EventSystem/Event.h b/src/EventSystem/Event.h index fc717cd..81931d0 100644 --- a/src/EventSystem/Event.h +++ b/src/EventSystem/Event.h @@ -4,12 +4,25 @@ #include "../List/List.h" #include "../DateTime/DateTime.h" #include "../String/String.h" +#include "../Venue/Hall.h" #include "Ticket.h" #include "Reservation.h" +#include "StatusCodes.h" class Event { List<Ticket> tickets; List<Reservation> reservations; + DateTime time; + String name; + Hall* hall; + +public: + Event(); + Event(const Hall* hall, String name, DateTime time); + + StatusCode reserveTicket(); + StatusCode cancelReservation(); + StatusCode buyReservation(); }; #endif |
