using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.CodeLhCustRate { [JsonObject] public class CodeLhCustRate : ModelObjectBillHead { #region private Fields private string _GID = Guid.NewGuid().ToString(); private string _YEAR = string.Empty; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string YEAR { get { return _YEAR; } set { _YEAR = value; } } [ModelDB] public decimal RATE { get;set;} [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATEUSER { get; set; } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATETIME { get; set; } [ModelDB] public string MODIFIEDUSER { get; set; } [ModelDB] public string MODIFIEDTIME { get; set; } #endregion public CodeLhCustRate() { TableName = "code_lhcust_rate"; } } [JsonObject] public class CodeLhCustCrStlDate : ModelObjectBillHead { #region private Fields private string _GID = Guid.NewGuid().ToString(); #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string CUSTOMERNAME { get; set; } [ModelDB] public decimal CRDAY { get; set; } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATEUSER { get; set; } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATETIME { get; set; } [ModelDB] public string MODIFIEDUSER { get; set; } [ModelDB] public string MODIFIEDTIME { get; set; } #endregion public CodeLhCustCrStlDate() { TableName = "code_lhcust_crstldate"; } } [JsonObject] public class CodeLhCustCrStlDateDetail : ModelObjectBillHead { #region private Fields private string _GID = Guid.NewGuid().ToString(); #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string LINKGID { get; set; } [ModelDB] public string BSSOURCE { get; set; } [ModelDB] public decimal GRACEDAY { get; set; } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATEUSER { get; set; } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATETIME { get; set; } [ModelDB] public string MODIFIEDUSER { get; set; } [ModelDB] public string MODIFIEDTIME { get; set; } #endregion public CodeLhCustCrStlDateDetail() { TableName = "code_lhcust_crstldate_detail"; } } #region 参照部分 #endregion }