#pragma once #include "ZxDataObjectStrEx.h" // DataObjectStrExUser class M_PROJECTMANAGER_EXPORT ZxDataObjectStrExUser : public ZxDataObjectStrEx { // ZX_DECLARE_DYNAMIC public: ZxDataObjectStrExUser(ZxDataObject *pParent); ZxDataObjectStrExUser(const ZxDataObjectStrExUser& other); virtual ~ZxDataObjectStrExUser(); ZxDataObjectStrExUser &operator = (const ZxDataObjectStrExUser& other); bool operator == (const ZxDataObjectStrExUser& other) const; bool operator != (const ZxDataObjectStrExUser& other) const; public: // 接口 virtual ZxDataObject* clone(); // 20240604为了方便,新增内部解析 virtual bool _parseData(VecVariant vec, int& n); virtual bool _sumUpData(VecVariant& vec); // 序列化 virtual void onSerialize(ZxSerializer* ser); virtual void onDeserialize(ZxSerializer* ser); public: void setCreator(const QString& s); QString getCreator() const; void setCreatedTime(const QString& s); QString getCreatedTime() const; void setModifier(const QString& s); QString getModifier() const; void setModifiedTime(const QString& s); QString getModifiedTime() const; protected: QString m_sCreator; //项目创建人 QString m_sCreatedTime;//项目创建时间 QString m_sModifier; //项目修改人 QString m_sModifiedTime;//项目修改时间 };