Website Summary Files Commits Branches @commit @diff @stats
path: root / src / EventSystem / Event.h
diff options
context:
space:
mode:
Commit7d7b1919fdb526944aa996954e32ea9922aad6d3 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 16:28:07 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 16:28:07 +0300
Filesb395766ced4201a430eadbe0215a99d684f03190 /src/EventSystem/Event.h
FMI-OOP-P1_TicketSystem-7d7b1919fdb526944aa996954e32ea9922aad6d3.tar
FMI-OOP-P1_TicketSystem-7d7b1919fdb526944aa996954e32ea9922aad6d3.tar.gz
FMI-OOP-P1_TicketSystem-7d7b1919fdb526944aa996954e32ea9922aad6d3.zip
Parentb905ec17878603ae0265d24fbf2830009619960c (diff)
Autocommit at 05.05.2022 @ 16:28
1 files changed, 5 insertions, 2 deletions
-rw-r--r--src/EventSystem/Event.h7
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<Ticket> tickets;
OrderedList<Reservation> 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);