3 #ifndef WOBGEN_MOCustomerInfoAbstract
4 #define WOBGEN_MOCustomerInfoAbstract
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
21 Q_PROPERTY(Nullable<qint64> customerid READ customerid WRITE setcustomerid)
23 Q_PROPERTY(Nullable<QString> title READ title WRITE settitle)
25 Q_PROPERTY(Nullable<QString> firstname READ firstname WRITE setfirstname)
27 Q_PROPERTY(Nullable<QString> name READ name WRITE setname)
35 virtual Nullable<qint64>
customerid()
const{
return mp_customerid;}
37 virtual Nullable<QString>
title()
const{
return mp_title;}
39 virtual Nullable<QString>
firstname()
const{
return mp_firstname;}
41 virtual Nullable<QString>
name()
const{
return mp_name;}
45 virtual void settitle(Nullable<QString> s){mp_title=s;}
49 virtual void setname(Nullable<QString> s){mp_name=s;}
56 QDomElement toXml(QDomDocument&doc,QString name=
"CustomerInfo");
58 void toXml(QDomDocument&,QDomElement&);
virtual Nullable< QString > firstname() const
Definition: srcMOCustomerInfoAbstract.h:39
virtual void setfirstname(Nullable< QString > s)
Definition: srcMOCustomerInfoAbstract.h:47
MOCustomerInfoAbstract()
default constructor: constructs an invalid instance of MOCustomerInfoAbstract
Definition: srcMOCustomerInfoAbstract.h:61
virtual Nullable< QString > name() const
Definition: srcMOCustomerInfoAbstract.h:41
virtual Nullable< QString > title() const
Definition: srcMOCustomerInfoAbstract.h:37
virtual void setcustomerid(Nullable< qint64 > s)
Definition: srcMOCustomerInfoAbstract.h:43
Nullable< QString > mp_name
Definition: srcMOCustomerInfoAbstract.h:32
virtual void setname(Nullable< QString > s)
Definition: srcMOCustomerInfoAbstract.h:49
Nullable< qint64 > mp_customerid
Definition: srcMOCustomerInfoAbstract.h:29
virtual Nullable< qint64 > customerid() const
Definition: srcMOCustomerInfoAbstract.h:35
Nullable< QString > mp_title
Definition: srcMOCustomerInfoAbstract.h:30
virtual void settitle(Nullable< QString > s)
Definition: srcMOCustomerInfoAbstract.h:45
Nullable< QString > mp_firstname
Definition: srcMOCustomerInfoAbstract.h:31
This class encapsulates the most basic information about a customer.
Definition: srcMOCustomerInfoAbstract.h:17
virtual ~MOCustomerInfoAbstract()
destructor: deletes this copy of the object
Definition: srcMOCustomerInfoAbstract.h:73
Q_DECLARE_METATYPE(QDomNode)
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOCustomerInfoAbstract.h:8