From 27e25fa55f21842d819072bc5650a61088a5511a Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 2 May 2022 20:20:10 +0300 Subject: Autocommit at 02.05.2022 @ 20:20 --- src/EventSystem/Event.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/EventSystem') 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 tickets; List reservations; + DateTime time; + String name; + Hall* hall; + +public: + Event(); + Event(const Hall* hall, String name, DateTime time); + + StatusCode reserveTicket(); + StatusCode cancelReservation(); + StatusCode buyReservation(); }; #endif -- cgit v1.3.1-26-gb76a