using System; using System.Data; using System.Collections; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsSysBillNoSet { [JsonObject] public class SysBillNoSet : ModelObjectBillHead { #region private Fields private string _GID = Guid.NewGuid().ToString(); private string _COMPANYID = String.Empty; private string _OPLBNAME = String.Empty; private string _RULEBLNO = String.Empty; private string _RULEDATETYPE = String.Empty; private string _BILLTYPE = String.Empty; private string _BILLTYPEREF = String.Empty; private string _ISEDIT ="0"; private string _ISAUTO = "0"; private string _CUSTOMHEAD = "0"; #endregion public SysBillNoSet() { TableName = "sys_billno_set"; } #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string COMPANYID { get { return _COMPANYID; } set { _COMPANYID = value; } } [ModelDB] public string OPLBNAME { get { return _OPLBNAME; } set { _OPLBNAME = value; } } [ModelDB] public string RULEBLNO { get { return _RULEBLNO; } set { _RULEBLNO = value; } } [ModelDB] public string RULEDATETYPE { get { return _RULEDATETYPE; } set { _RULEDATETYPE = value; } } [ModelDB] public string BILLTYPE { get { return _BILLTYPE; } set { _BILLTYPE = value; } } public string BILLTYPEREF { get { return _BILLTYPEREF; } set { _BILLTYPEREF = value; } } [ModelDB] public string ISEDIT { get { return _ISEDIT; } set { _ISEDIT = value; } } [ModelDB] public string ISAUTO { get { return _ISAUTO; } set { _ISAUTO = value; } } [ModelDB] public string CUSTOMHEAD { get { return _CUSTOMHEAD; } set { _CUSTOMHEAD = value; } } [ModelDB] public string ISOPADD { get; set; } #endregion } }