using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.SoftMng.Models.MsInfoClientItem { [JsonObject] public class MsInfoClientItemEntity : ModelObjectBillHead { #region 属性 private string _gid = ""; /// /// 惟一值 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _gid; } set { _gid = value; } } private string _linkgid = ""; /// /// 客户GID /// [ModelDB] public string LINKGID { get { return _linkgid; } set { _linkgid = value; } } private string _itemname = ""; /// /// 项目名称 /// [ModelDB] public string ITEMNAME { get { return _itemname; } set { _itemname = value; } } private DateTime _starttime = DateTime.Now; /// /// 起始时间 /// [ModelDB] public DateTime STARTTIME { get { return _starttime; } set { _starttime = value; } } private DateTime _endtime = DateTime.Now; /// /// 结束时间 /// [ModelDB] public DateTime ENDTIME { get { return _endtime; } set { _endtime = value; } } private string _createuser = ""; /// /// 创建人gid /// [ModelDB] public string CREATEUSER { get { return _createuser; } set { _createuser = value; } } private DateTime _createtime = DateTime.Now; /// /// 创建时间 /// [ModelDB] public DateTime CREATETIME { get { return _createtime; } set { _createtime = value; } } private string _modifieduser = ""; /// /// 更改操作人gid /// [ModelDB] public string MODIFIEDUSER { get { return _modifieduser; } set { _modifieduser = value; } } private DateTime _modifiedtime = DateTime.Now; /// /// 最后一次更改时间 /// [ModelDB] public DateTime MODIFIEDTIME { get { return _modifiedtime; } set { _modifiedtime = value; } } #endregion public MsInfoClientItemEntity() { TableName = "info_client_item"; } override public string GetBillNoFieldName() { return "GID"; } } }