using System; using System.Data; using System.Collections; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.InfoSaleProfitShareSet { [JsonObject] public class InfoSaleProfitShareSet : ModelObjectBillHead { #region private Fields private string _GID = Guid.NewGuid().ToString(); private string _PLANID =""; private string _PLANREF = ""; private string _SALEID = ""; private string _SALE = ""; private string _REMARKS = ""; private string _COMPANYID = String.Empty; private string _CREATEUSER; private DateTime _CREATETIME = DateTime.Now;//录入日期 #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string PLANID { get { return _PLANID; } set { _PLANID = value; } } public string PLANREF { get { return _PLANREF; } set { _PLANREF = value; } } [ModelDB] public string SALEID { get { return _SALEID; } set { _SALEID = value; } } [ModelDB] public string SALE { get { return _SALE; } set { _SALE = value; } } [ModelDB] public string REMARKS { get { return _REMARKS; } set { _REMARKS = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string COMPANYID { get { return _COMPANYID; } set { _COMPANYID = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public DateTime CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } } #endregion public InfoSaleProfitShareSet() { TableName = "info_sale_profitShareSet"; } } }