using System; using System.Data; using System.Collections; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.SysInvInterFaceSet { [JsonObject] public class SysInvInterFaceSet : ModelObjectBillHead { #region private Fields private string _GID = Guid.NewGuid().ToString(); private string _COMPANYID = String.Empty; private string _INVOICELINE = String.Empty; private string _INVITERFACE = String.Empty; private string _CREATEUSER; private string _CREATEUSERREF; private string _CREATETIME = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");//录入日期 #endregion public SysInvInterFaceSet() { TableName = "sys_inv_interfaceset"; } #region Public Properties //region public [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string INVITERFACE { get { return _INVITERFACE; } set { _INVITERFACE = value; } } [ModelDB] public string INVOICELINE { get { return _INVOICELINE; } set { _INVOICELINE = 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; } } public string CREATEUSERREF { get { return _CREATEUSERREF; } set { _CREATEUSERREF = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } } //#endregion #endregion } }