3 #ifndef WOBGEN_MOVoucherAudit
4 #define WOBGEN_MOVoucherAudit
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
18 Q_PROPERTY(Nullable<qint64> audittime READ audittime WRITE setaudittime)
20 Q_PROPERTY(Nullable<QString> audituname READ audituname WRITE setaudituname)
22 Q_PROPERTY(Nullable<QString> audittransaction READ audittransaction WRITE setaudittransaction)
24 Q_PROPERTY(Nullable<QString> comment READ comment WRITE setcomment)
32 virtual Nullable<qint64>
audittime()
const{
return mp_audittime;}
34 virtual Nullable<QString>
audituname()
const{
return mp_audituname;}
38 virtual Nullable<QString>
comment()
const{
return mp_comment;}
46 virtual void setcomment(Nullable<QString> s){mp_comment=s;}
53 QDomElement
toXml(QDomDocument&doc,QString name=
"VoucherAudit");
55 void toXml(QDomDocument&,QDomElement&);
static MOVoucherAbstract fromString(const QString &)
create MOVoucherAbstract from XML formatted string (inverse of toString)
Definition: srcMOVoucherAbstract.cpp:160
Definition: srcMOVoucherAudit.h:14
virtual void setaudittime(Nullable< qint64 > s)
Definition: srcMOVoucherAudit.h:40
Nullable< qint64 > mp_audittime
Definition: srcMOVoucherAudit.h:26
Nullable< QString > mp_audituname
Definition: srcMOVoucherAudit.h:27
virtual Nullable< QString > comment() const
Definition: srcMOVoucherAudit.h:38
virtual Nullable< qint64 > audittime() const
Definition: srcMOVoucherAudit.h:32
Nullable< QString > mp_comment
Definition: srcMOVoucherAudit.h:29
virtual void setaudittransaction(Nullable< QString > s)
Definition: srcMOVoucherAudit.h:44
Nullable< QString > mp_audittransaction
Definition: srcMOVoucherAudit.h:28
virtual ~MOVoucherAudit()
destructor: deletes this copy of the object
Definition: srcMOVoucherAudit.h:70
MOVoucherAudit()
default constructor: constructs an invalid instance of MOVoucherAudit
Definition: srcMOVoucherAudit.h:58
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOVoucherAudit.h:8
virtual void setcomment(Nullable< QString > s)
Definition: srcMOVoucherAudit.h:46
virtual Nullable< QString > audituname() const
Definition: srcMOVoucherAudit.h:34
Q_DECLARE_METATYPE(QDomNode)
virtual void setaudituname(Nullable< QString > s)
Definition: srcMOVoucherAudit.h:42
static MOVoucherAbstract fromXml(const QDomElement &)
create MOVoucherAbstract from XML (inverse of toXml)
Definition: srcMOVoucherAbstract.cpp:159
QDomElement toXml(QDomDocument &doc, QString name="Voucher")
Transforms the object into its XML representation, the element node returned is not appended to the d...
Definition: srcMOVoucherAbstract.cpp:51
virtual Nullable< QString > audittransaction() const
Definition: srcMOVoucherAudit.h:36
MOVoucherAbstract & operator=(const MOVoucherAbstract &)
copy assignment: creates a (deep) copy of the object
Definition: srcMOVoucherAbstract.cpp:100
QString toString()
Serializes the object to XML and returns the string representation of that XML.
Definition: srcMOVoucherAbstract.cpp:45