3 #ifndef WOBGEN_MOEventPrice
4 #define WOBGEN_MOEventPrice
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
14 #include "MOPriceCategory"
19 Q_PROPERTY(Nullable<qint64> eventid READ eventid WRITE seteventid)
21 Q_PROPERTY(Nullable<qint64> pricecategoryid READ pricecategoryid WRITE setpricecategoryid)
23 Q_PROPERTY(Nullable<MOPriceCategory> pricecategory READ pricecategory WRITE setpricecategory)
25 Q_PROPERTY(Nullable<qint64> maxavailable READ maxavailable WRITE setmaxavailable)
27 Q_PROPERTY(Nullable<qint64> price READ price WRITE setprice)
29 Q_PROPERTY(Nullable<qint64> prio READ prio WRITE setprio)
31 Q_PROPERTY(Nullable<QString> flags READ flags WRITE setflags)
33 Q_PROPERTY(Nullable<QString> tags READ tags WRITE settags)
35 Q_PROPERTY(Nullable<bool> canuse READ canuse WRITE setcanuse)
37 Q_PROPERTY(Nullable<qint64> amounttickets READ amounttickets WRITE setamounttickets)
39 Q_PROPERTY(Nullable<qint64> amountticketsblock READ amountticketsblock WRITE setamountticketsblock)
54 virtual Nullable<qint64>
eventid()
const{
return mp_eventid;}
58 virtual Nullable<MOPriceCategory>
pricecategory()
const{
return mp_pricecategory;}
60 virtual Nullable<qint64>
maxavailable()
const{
return mp_maxavailable;}
62 virtual Nullable<qint64>
price()
const{
return mp_price;}
64 virtual Nullable<qint64>
prio()
const{
return mp_prio;}
66 virtual Nullable<QString>
flags()
const{
return mp_flags;}
68 virtual Nullable<QString>
tags()
const{
return mp_tags;}
70 virtual Nullable<bool>
canuse()
const{
return mp_canuse;}
76 virtual void seteventid(Nullable<qint64> s){mp_eventid=s;}
84 virtual void setprice(Nullable<qint64> s){mp_price=s;}
86 virtual void setprio(Nullable<qint64> s){mp_prio=s;}
88 virtual void setflags(Nullable<QString> s){mp_flags=s;}
90 virtual void settags(Nullable<QString> s){mp_tags=s;}
92 virtual void setcanuse(Nullable<bool> s){mp_canuse=s;}
103 QDomElement toXml(QDomDocument&doc,QString name=
"EventPrice");
105 void toXml(QDomDocument&,QDomElement&);
Nullable< qint64 > mp_prio
Definition: srcMOEventPrice.h:46
Nullable< qint64 > mp_price
Definition: srcMOEventPrice.h:45
virtual Nullable< MOPriceCategory > pricecategory() const
Definition: srcMOEventPrice.h:58
virtual Nullable< QString > tags() const
Definition: srcMOEventPrice.h:68
Definition: srcMOEventPrice.h:15
virtual Nullable< qint64 > amounttickets() const
calculated property: contains the amount of tickets currently contained in this price, ignored if sent from client
Definition: srcMOEventPrice.h:72
Nullable< MOPriceCategory > mp_pricecategory
Definition: srcMOEventPrice.h:43
Nullable< qint64 > mp_amountticketsblock
Definition: srcMOEventPrice.h:51
virtual Nullable< qint64 > prio() const
Definition: srcMOEventPrice.h:64
virtual void setflags(Nullable< QString > s)
Definition: srcMOEventPrice.h:88
virtual void seteventid(Nullable< qint64 > s)
Definition: srcMOEventPrice.h:76
virtual void setpricecategory(Nullable< MOPriceCategory > s)
Definition: srcMOEventPrice.h:80
Nullable< qint64 > mp_pricecategoryid
Definition: srcMOEventPrice.h:42
virtual Nullable< qint64 > maxavailable() const
Definition: srcMOEventPrice.h:60
virtual ~MOEventPrice()
destructor: deletes this copy of the object
Definition: srcMOEventPrice.h:120
virtual Nullable< qint64 > amountticketsblock() const
calculated property: contains the amount of tickets currently contained in this price that are actual...
Definition: srcMOEventPrice.h:74
Nullable< qint64 > mp_amounttickets
Definition: srcMOEventPrice.h:50
virtual Nullable< QString > flags() const
Definition: srcMOEventPrice.h:66
virtual void setamounttickets(Nullable< qint64 > s)
calculated property: contains the amount of tickets currently contained in this price, ignored if sent from client
Definition: srcMOEventPrice.h:94
virtual Nullable< qint64 > eventid() const
Definition: srcMOEventPrice.h:54
virtual void setmaxavailable(Nullable< qint64 > s)
Definition: srcMOEventPrice.h:82
Nullable< qint64 > mp_eventid
Definition: srcMOEventPrice.h:41
MOEventPrice()
default constructor: constructs an invalid instance of MOEventPrice
Definition: srcMOEventPrice.h:108
Nullable< QString > mp_flags
Definition: srcMOEventPrice.h:47
virtual void setprice(Nullable< qint64 > s)
Definition: srcMOEventPrice.h:84
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOEventPrice.h:8
Q_DECLARE_METATYPE(QDomNode)
virtual void setprio(Nullable< qint64 > s)
Definition: srcMOEventPrice.h:86
virtual Nullable< qint64 > price() const
Definition: srcMOEventPrice.h:62
virtual Nullable< qint64 > pricecategoryid() const
Definition: srcMOEventPrice.h:56
virtual void settags(Nullable< QString > s)
Definition: srcMOEventPrice.h:90
Nullable< qint64 > mp_maxavailable
Definition: srcMOEventPrice.h:44
Nullable< bool > mp_canuse
Definition: srcMOEventPrice.h:49
virtual void setpricecategoryid(Nullable< qint64 > s)
Definition: srcMOEventPrice.h:78
virtual void setamountticketsblock(Nullable< qint64 > s)
calculated property: contains the amount of tickets currently contained in this price that are actual...
Definition: srcMOEventPrice.h:96
virtual Nullable< bool > canuse() const
Definition: srcMOEventPrice.h:70
virtual void setcanuse(Nullable< bool > s)
Definition: srcMOEventPrice.h:92
Nullable< QString > mp_tags
Definition: srcMOEventPrice.h:48