3 #ifndef WOBGEN_MOEventSaleInfoAbstract
4 #define WOBGEN_MOEventSaleInfoAbstract
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
14 #include "MOEventPrice"
15 #include "MOSeatPlanInfo"
16 #include "MOTicketSaleInfo"
22 Q_PROPERTY(Nullable<qint64> eventid READ eventid WRITE seteventid)
24 Q_PROPERTY(Nullable<bool> iscancelled READ iscancelled WRITE setiscancelled)
26 Q_PROPERTY(Nullable<qint64> capacity READ capacity WRITE setcapacity)
28 Q_PROPERTY(Nullable<QString> room READ room WRITE setroom)
30 Q_PROPERTY(QList<MOEventPrice> price READ price WRITE setprice)
32 Q_PROPERTY(Nullable<qint64> seatplanid READ seatplanid WRITE setseatplanid)
34 Q_PROPERTY(Nullable<MOSeatPlanInfo> seatplaninfo READ seatplaninfo WRITE setseatplaninfo)
36 Q_PROPERTY(QList<MOTicketSaleInfo> ticketsales READ ticketsales WRITE setticketsales)
38 Q_PROPERTY(Nullable<bool> canuse READ canuse WRITE setcanuse)
51 virtual Nullable<qint64>
eventid()
const{
return mp_eventid;}
53 virtual Nullable<bool>
iscancelled()
const{
return mp_iscancelled;}
55 virtual Nullable<qint64>
capacity()
const{
return mp_capacity;}
57 virtual Nullable<QString>
room()
const{
return mp_room;}
59 virtual QList<MOEventPrice>
price()
const{
return mp_price;}
61 virtual Nullable<qint64>
seatplanid()
const{
return mp_seatplanid;}
63 virtual Nullable<MOSeatPlanInfo>
seatplaninfo()
const{
return mp_seatplaninfo;}
65 virtual QList<MOTicketSaleInfo>
ticketsales()
const{
return mp_ticketsales;}
67 virtual Nullable<bool>
canuse()
const{
return mp_canuse;}
69 virtual void seteventid(Nullable<qint64> s){mp_eventid=s;}
75 virtual void setroom(Nullable<QString> s){mp_room=s;}
77 virtual void setprice(QList<MOEventPrice> s){mp_price=s;}
79 virtual void addprice(Nullable<MOEventPrice> a){mp_price.append(a);}
87 virtual void addticketsales(Nullable<MOTicketSaleInfo> a){mp_ticketsales.append(a);}
89 virtual void setcanuse(Nullable<bool> s){mp_canuse=s;}
96 QDomElement toXml(QDomDocument&doc,QString name=
"EventSaleInfo");
98 void toXml(QDomDocument&,QDomElement&);
virtual Nullable< bool > canuse() const
Definition: srcMOEventSaleInfoAbstract.h:67
virtual QList< MOEventPrice > price() const
Definition: srcMOEventSaleInfoAbstract.h:59
virtual void setroom(Nullable< QString > s)
Definition: srcMOEventSaleInfoAbstract.h:75
virtual void clearticketsales()
Definition: srcMOEventSaleInfoAbstract.h:86
Nullable< QString > mp_room
Definition: srcMOEventSaleInfoAbstract.h:43
QList< MOEventPrice > mp_price
Definition: srcMOEventSaleInfoAbstract.h:44
virtual Nullable< MOSeatPlanInfo > seatplaninfo() const
Definition: srcMOEventSaleInfoAbstract.h:63
virtual Nullable< QString > room() const
Definition: srcMOEventSaleInfoAbstract.h:57
virtual Nullable< qint64 > seatplanid() const
Definition: srcMOEventSaleInfoAbstract.h:61
virtual void setseatplaninfo(Nullable< MOSeatPlanInfo > s)
Definition: srcMOEventSaleInfoAbstract.h:83
virtual void addticketsales(Nullable< MOTicketSaleInfo > a)
Definition: srcMOEventSaleInfoAbstract.h:87
virtual void setseatplanid(Nullable< qint64 > s)
Definition: srcMOEventSaleInfoAbstract.h:81
virtual void addprice(Nullable< MOEventPrice > a)
Definition: srcMOEventSaleInfoAbstract.h:79
virtual ~MOEventSaleInfoAbstract()
destructor: deletes this copy of the object
Definition: srcMOEventSaleInfoAbstract.h:113
virtual void setcanuse(Nullable< bool > s)
Definition: srcMOEventSaleInfoAbstract.h:89
virtual void setcapacity(Nullable< qint64 > s)
Definition: srcMOEventSaleInfoAbstract.h:73
Nullable< bool > mp_iscancelled
Definition: srcMOEventSaleInfoAbstract.h:41
Nullable< bool > mp_canuse
Definition: srcMOEventSaleInfoAbstract.h:48
virtual Nullable< qint64 > eventid() const
Definition: srcMOEventSaleInfoAbstract.h:51
virtual void setprice(QList< MOEventPrice > s)
Definition: srcMOEventSaleInfoAbstract.h:77
Nullable< qint64 > mp_seatplanid
Definition: srcMOEventSaleInfoAbstract.h:45
virtual Nullable< bool > iscancelled() const
Definition: srcMOEventSaleInfoAbstract.h:53
virtual QList< MOTicketSaleInfo > ticketsales() const
Definition: srcMOEventSaleInfoAbstract.h:65
virtual void setticketsales(QList< MOTicketSaleInfo > s)
Definition: srcMOEventSaleInfoAbstract.h:85
Nullable< MOSeatPlanInfo > mp_seatplaninfo
Definition: srcMOEventSaleInfoAbstract.h:46
virtual void seteventid(Nullable< qint64 > s)
Definition: srcMOEventSaleInfoAbstract.h:69
Q_DECLARE_METATYPE(QDomNode)
Nullable< qint64 > mp_eventid
Definition: srcMOEventSaleInfoAbstract.h:40
This class transports all data necessary to calculate the free seats of an event. ...
Definition: srcMOEventSaleInfoAbstract.h:18
virtual void setiscancelled(Nullable< bool > s)
Definition: srcMOEventSaleInfoAbstract.h:71
QList< MOTicketSaleInfo > mp_ticketsales
Definition: srcMOEventSaleInfoAbstract.h:47
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOEventSaleInfoAbstract.h:8
Nullable< qint64 > mp_capacity
Definition: srcMOEventSaleInfoAbstract.h:42
MOEventSaleInfoAbstract()
default constructor: constructs an invalid instance of MOEventSaleInfoAbstract
Definition: srcMOEventSaleInfoAbstract.h:101
virtual Nullable< qint64 > capacity() const
Definition: srcMOEventSaleInfoAbstract.h:55
virtual void clearprice()
Definition: srcMOEventSaleInfoAbstract.h:78