3 #ifndef WOBGEN_MOItemInfo
4 #define WOBGEN_MOItemInfo
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
19 Q_PROPERTY(Nullable<qint64> itemid READ itemid WRITE setitemid)
21 Q_PROPERTY(Nullable<qint64> productid READ productid WRITE setproductid)
23 Q_PROPERTY(Nullable<QString> productname READ productname WRITE setproductname)
25 Q_PROPERTY(Nullable<qint64> orderid READ orderid WRITE setorderid)
27 Q_PROPERTY(Nullable<qint64> amount READ amount WRITE setamount)
29 Q_PROPERTY(Nullable<qint64> totalprice READ totalprice WRITE settotalprice)
39 virtual Nullable<qint64>
itemid()
const{
return mp_itemid;}
41 virtual Nullable<qint64>
productid()
const{
return mp_productid;}
43 virtual Nullable<QString>
productname()
const{
return mp_productname;}
45 virtual Nullable<qint64>
orderid()
const{
return mp_orderid;}
47 virtual Nullable<qint64>
amount()
const{
return mp_amount;}
49 virtual Nullable<qint64>
totalprice()
const{
return mp_totalprice;}
51 virtual void setitemid(Nullable<qint64> s){mp_itemid=s;}
57 virtual void setorderid(Nullable<qint64> s){mp_orderid=s;}
59 virtual void setamount(Nullable<qint64> s){mp_amount=s;}
68 QDomElement toXml(QDomDocument&doc,QString name=
"ItemInfo");
70 void toXml(QDomDocument&,QDomElement&);
Nullable< qint64 > mp_amount
Definition: srcMOItemInfo.h:35
Nullable< qint64 > mp_itemid
Definition: srcMOItemInfo.h:31
used for basic info about items
Definition: srcMOItemInfo.h:15
Nullable< qint64 > mp_orderid
Definition: srcMOItemInfo.h:34
Nullable< qint64 > mp_productid
Definition: srcMOItemInfo.h:32
virtual Nullable< qint64 > amount() const
Definition: srcMOItemInfo.h:47
Nullable< qint64 > mp_totalprice
Definition: srcMOItemInfo.h:36
virtual Nullable< qint64 > orderid() const
Definition: srcMOItemInfo.h:45
virtual void setorderid(Nullable< qint64 > s)
Definition: srcMOItemInfo.h:57
virtual void setproductid(Nullable< qint64 > s)
Definition: srcMOItemInfo.h:53
virtual void settotalprice(Nullable< qint64 > s)
Definition: srcMOItemInfo.h:61
virtual void setproductname(Nullable< QString > s)
Definition: srcMOItemInfo.h:55
virtual void setitemid(Nullable< qint64 > s)
Definition: srcMOItemInfo.h:51
virtual Nullable< qint64 > itemid() const
Definition: srcMOItemInfo.h:39
virtual void setamount(Nullable< qint64 > s)
Definition: srcMOItemInfo.h:59
MOItemInfo()
default constructor: constructs an invalid instance of MOItemInfo
Definition: srcMOItemInfo.h:73
virtual Nullable< qint64 > productid() const
Definition: srcMOItemInfo.h:41
Q_DECLARE_METATYPE(QDomNode)
Nullable< QString > mp_productname
Definition: srcMOItemInfo.h:33
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOItemInfo.h:8
virtual Nullable< qint64 > totalprice() const
Definition: srcMOItemInfo.h:49
virtual ~MOItemInfo()
destructor: deletes this copy of the object
Definition: srcMOItemInfo.h:85
virtual Nullable< QString > productname() const
Definition: srcMOItemInfo.h:43