You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWATI/Include/mData/mProjectManager/DataModels/ZxDataObjectStrExUser.h

58 lines
1.4 KiB
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#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;//项目修改时间
};