Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / Event.h
blob: 4de2814bab19f2880a4019359e4649f3348744d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef HEADER_EVENTSYSTEM_EVENT
#define HEADER_EVENTSYSTEM_EVENT

#include "../Generic/List/OrderedList.hpp"
#include "../Generic/Date/Date.h"
#include "../Generic/String/String.h"
#include "Hall.h"
#include "Ticket.h"
#include "Reservation.h"

class Event {
	const Hall* hall;
	String name;
	Date date;
	OrderedList<Ticket> tickets;
	OrderedList<Reservation> reservations;

public:
	Event();
	Event(const Hall& hall, String name, Date date);

	const Hall& get_hall() const;
	const String& get_name() const;
	const Date& get_date() const;
	const OrderedList<Ticket>& get_tickets() const;
	const OrderedList<Reservation>& get_reservations() const;

	int compare(const Event& other);
};

#endif