From 7d7b1919fdb526944aa996954e32ea9922aad6d3 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 5 May 2022 16:28:07 +0300 Subject: Autocommit at 05.05.2022 @ 16:28 --- src/EventSystem/Event.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/EventSystem/Event.h') diff --git a/src/EventSystem/Event.h b/src/EventSystem/Event.h index 7d6fa40..2158d9a 100644 --- a/src/EventSystem/Event.h +++ b/src/EventSystem/Event.h @@ -12,13 +12,16 @@ class Event { OrderedList tickets; OrderedList reservations; - Date time; + Date date; String name; const Hall* hall; public: Event(); - Event(const Hall* hall, String name, Date time); + Event(const Hall* hall, String name, Date date); + + const String& get_name() const; + const Date& get_date() const; StatusCode reserveTicket(const Ticket& ticket, const char* password, const char* note); -- cgit v1.3.1-26-gb76a