3 #ifndef WOBGEN_MOContact
4 #define WOBGEN_MOContact
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
14 #include "MOContactType"
19 Q_PROPERTY(Nullable<qint64> contactid READ contactid WRITE setcontactid)
21 Q_PROPERTY(Nullable<qint64> customerid READ customerid WRITE setcustomerid)
23 Q_PROPERTY(Nullable<qint64> contacttypeid READ contacttypeid WRITE setcontacttypeid)
25 Q_PROPERTY(Nullable<QString> contact READ contact WRITE setcontact)
27 Q_PROPERTY(Nullable<MOContactType> contacttype READ contacttype WRITE setcontacttype)
36 virtual Nullable<qint64>
contactid()
const{
return mp_contactid;}
38 virtual Nullable<qint64>
customerid()
const{
return mp_customerid;}
42 virtual Nullable<QString>
contact()
const{
return mp_contact;}
44 virtual Nullable<MOContactType>
contacttype()
const{
return mp_contacttype;}
52 virtual void setcontact(Nullable<QString> s){mp_contact=s;}
61 QDomElement toXml(QDomDocument&doc,QString name=
"Contact");
63 void toXml(QDomDocument&,QDomElement&);
74 static MOContact fromXml(
const QDomElement&);
76 static MOContact fromString(
const QString&);
Q_DECLARE_METATYPE(QDomNode)