using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.CRM_QUOTATION { [JsonObject] public class CRM_QUOTATIONmb : ModelObjectBillHead { #region 读写属性 private string _GID = string.Empty; private string _BLTYPE = string.Empty; private string _BLSTATUS_REF = string.Empty; private string _BLSTATUS = string.Empty; private string _CLIENTGID = string.Empty; private string _SHORTNAME = string.Empty; private string _DESCRIPTION = string.Empty; private string _SALE = string.Empty; private string _ASKDATE = string.Empty; private string _QUOTATIONDATE = string.Empty; private string _CORPID = string.Empty; private string _PORTLOAD = string.Empty; private string _PORTDISCHARGE = string.Empty; private string _LANE = string.Empty; private string _CARRIER = string.Empty; private string _ETD = string.Empty; private string _ETA = string.Empty; private string _ENTREPORT = string.Empty; private string _TT = string.Empty; private string _GOODSNAME = string.Empty; private string _REMARK = string.Empty; private string _CREATEUSER = string.Empty; private string _CREATETIME = string.Empty; private string _MODIFIEDUSER = string.Empty; private string _MODIFIEDTIME = string.Empty; private string _CONTACTNAME = string.Empty; private string _VALIDDATE = string.Empty; private string _WEEK = string.Empty; private decimal _TimeMark = 0; private string _PORTLOAD_REF = string.Empty; private string _PORTDISCHARGE_REF = string.Empty; private string _TEL = string.Empty; private string _EMAIL = string.Empty; private string _CTN = string.Empty; private string _CTNNUM = string.Empty; private string _CTN2 = string.Empty; private string _CTNNUM2 = string.Empty; private string __20GP = string.Empty; private string __40GP = string.Empty; private string __40HC = string.Empty; private string __45 = string.Empty; private string _VALIDDATE_END = string.Empty; private string _GETBJ = string.Empty; #endregion #region public方法 [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string BLTYPE { get { return _BLTYPE; } set { _BLTYPE = value; } } //[ModelDB] public string BLSTATUS_REF { get { return _BLSTATUS_REF; } set { _BLSTATUS_REF = value; } } [ModelDB] public string BLSTATUS { get { return _BLSTATUS; } set { _BLSTATUS = value; } } [ModelDB] public string CLIENTGID { get { return _CLIENTGID; } set { _CLIENTGID = value; } } [ModelDB] public string SHORTNAME { get { return _SHORTNAME; } set { _SHORTNAME = value; } } [ModelDB] public string DESCRIPTION { get { return _DESCRIPTION; } set { _DESCRIPTION = value; } } [ModelDB] public string SALE { get { return _SALE; } set { _SALE = value; } } [ModelDB] public string QUOTATIONDATE { get { return _QUOTATIONDATE; } set { _QUOTATIONDATE = value; } } [ModelDB] public string ASKDATE { get { return _ASKDATE; } set { _ASKDATE = value; } } [ModelDB] public string CORPID { get { return _CORPID; } set { _CORPID = value; } } [ModelDB] public string PORTLOAD { get { return _PORTLOAD; } set { _PORTLOAD = value; } } [ModelDB] public string PORTDISCHARGE { get { return _PORTDISCHARGE; } set { _PORTDISCHARGE = value; } } [ModelDB] public string LANE { get { return _LANE; } set { _LANE = value; } } [ModelDB] public string CARRIER { get { return _CARRIER; } set { _CARRIER = value; } } [ModelDB] public string ETD { get { return _ETD; } set { _ETD = value; } } [ModelDB] public string ETA { get { return _ETA; } set { _ETA = value; } } [ModelDB] public string ENTREPORT { get { return _ENTREPORT; } set { _ENTREPORT = value; } } [ModelDB] public string TT { get { return _TT; } set { _TT = value; } } [ModelDB] public string GOODSNAME { get { return _GOODSNAME; } set { _GOODSNAME = value; } } [ModelDB] public string REMARK { get { return _REMARK; } set { _REMARK = value; } } [ModelDB] public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } [ModelDB] public string CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } } [ModelDB] public string MODIFIEDUSER { get { return _MODIFIEDUSER; } set { _MODIFIEDUSER = value; } } [ModelDB] public string MODIFIEDTIME { get { return _MODIFIEDTIME; } set { _MODIFIEDTIME = value; } } [ModelDB] public string CONTACTNAME { get { return _CONTACTNAME; } set { _CONTACTNAME = value; } } [ModelDB] public string VALIDDATE { get { return _VALIDDATE; } set { _VALIDDATE = value; } } [ModelDB] public string WEEK { get { return _WEEK; } set { _WEEK = value; } } public decimal TimeMark { get { return _TimeMark; } set { _TimeMark = value; } } public string PORTLOAD_REF { get { return _PORTLOAD_REF; } set { _PORTLOAD_REF = value; } } public string PORTDISCHARGE_REF { get { return _PORTDISCHARGE_REF; } set { _PORTDISCHARGE_REF = value; } } public string TEL { get { return _TEL; } set { _TEL = value; } } public string EMAIL { get { return _EMAIL; } set { _EMAIL = value; } } [ModelDB] public string CTN { get { return _CTN; } set { _CTN = value; } } [ModelDB] public string CTNNUM { get { return _CTNNUM; } set { _CTNNUM = value; } } [ModelDB] public string CTN2 { get { return _CTN2; } set { _CTN2 = value; } } [ModelDB] public string CTNNUM2 { get { return _CTNNUM2; } set { _CTNNUM2 = value; } } [ModelDB] public string _20GP { get { return __20GP; } set { __20GP = value; } } [ModelDB] public string _40GP { get { return __40GP; } set { __40GP = value; } } [ModelDB] public string _40HC { get { return __40HC; } set { __40HC = value; } } [ModelDB] public string _45 { get { return __45; } set { __45 = value; } } [ModelDB] public string VALIDDATE_END { get { return _VALIDDATE_END; } set { _VALIDDATE_END = value; } } public string GETBJ { get { return _GETBJ; } set { _GETBJ = value; } } #endregion public CRM_QUOTATIONmb ( ) { TableName = "CRM_QUOTATION"; } override public string GetBillNoFieldName() { return "GID"; } } [JsonObject] public class CRM_QUOTATION_DETAILmb : ModelObjectBillBody { #region 读写属性 private string _GID = string.Empty; private string _LINKGID = string.Empty; private string _LINKGID2 = string.Empty; private string _FEETYPE = string.Empty; private string _FEENAME = string.Empty; private string _UNIT = string.Empty; private string _UNITPRICE = string.Empty; private string _CURRENCY = string.Empty; private string _CARRIER = string.Empty; private string _CARRIER_REF = string.Empty; private string _REMARK = string.Empty; private string _CREATEUSER = string.Empty; private string _CREATETIME = string.Empty; private string _MODIFIEDUSER = string.Empty; private string _MODIFIEDTIME = string.Empty; private string _ETD = string.Empty; private string _SHORTNAME = string.Empty; private string _ISUSE = string.Empty; private string _CTN = string.Empty; private string _CTNNUM = string.Empty; private string _CTN2 = string.Empty; private string _CTNPRICE = string.Empty; private string _CTNPRICE2 = string.Empty; private string __20GP = string.Empty; private string __40GP = string.Empty; private string __40HC = string.Empty; private string __45 = string.Empty; [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string LINKGID { get { return _LINKGID; } set { _LINKGID = value; } } [ModelDB] public string LINKGID2 { get { return _LINKGID2; } set { _LINKGID2 = value; } } [ModelDB] public string FEETYPE { get { return _FEETYPE; } set { _FEETYPE = value; } } [ModelDB] public string FEENAME { get { return _FEENAME; } set { _FEENAME = value; } } [ModelDB] public string UNIT { get { return _UNIT; } set { _UNIT = value; } } [ModelDB] public string UNITPRICE { get { return _UNITPRICE; } set { _UNITPRICE = value; } } [ModelDB] public string CURRENCY { get { return _CURRENCY; } set { _CURRENCY = value; } } [ModelDB] public string CARRIER { get { return _CARRIER; } set { _CARRIER = value; } } public string CARRIER_REF { get { return _CARRIER_REF; } set { _CARRIER_REF = value; } } [ModelDB] public string REMARK { get { return _REMARK; } set { _REMARK = value; } } [ModelDB] public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } [ModelDB] public string CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } } [ModelDB] public string MODIFIEDUSER { get { return _MODIFIEDUSER; } set { _MODIFIEDUSER = value; } } [ModelDB] public string MODIFIEDTIME { get { return _MODIFIEDTIME; } set { _MODIFIEDTIME = value; } } [ModelDB] public string CTN { get { return _CTN; } set { _CTN = value; } } [ModelDB] public string CTNNUM { get { return _CTNNUM; } set { _CTNNUM = value; } } [ModelDB] public string CTN2 { get { return _CTN2; } set { _CTN2 = value; } } [ModelDB] public string CTNPRICE { get { return _CTNPRICE; } set { _CTNPRICE = value; } } [ModelDB] public string CTNPRICE2 { get { return _CTNPRICE2; } set { _CTNPRICE2 = value; } } [ModelDB] public string ETD { get { return _ETD; } set { _ETD = value; } } public string SHORTNAME { get { return _SHORTNAME; } set { _SHORTNAME = value; } } [ModelDB] public string ISUSE { get { return _ISUSE; } set { _ISUSE = value; } } [ModelDB] public string _20GP { get { return __20GP; } set { __20GP = value; } } [ModelDB] public string _40GP { get { return __40GP; } set { __40GP = value; } } [ModelDB] public string _40HC { get { return __40HC; } set { __40HC = value; } } [ModelDB] public string _45 { get { return __45; } set { __45 = value; } } #endregion public CRM_QUOTATION_DETAILmb ( ) { TableName = "crm_quotation_detail"; } override public string GetBillNoFieldName ( ) { return "LINKGID"; } } [JsonObject] public class CRM_QUOTATION_CARRIERmb : ModelObjectBillBody { #region 读写属性 private string _GID = string.Empty; private string _LINKGID = string.Empty; private string _LINKGID2 = string.Empty; private string _CARRIER = string.Empty; private string _FREEDAYS = "0"; private string _REMARK = string.Empty; private string _VALIDDATE = string.Empty; private string _VALIDDATE_END = string.Empty; [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string LINKGID { get { return _LINKGID; } set { _LINKGID = value; } } [ModelDB] public string LINKGID2 { get { return _LINKGID2; } set { _LINKGID2 = value; } } [ModelDB] public string CARRIER { get { return _CARRIER; } set { _CARRIER = value; } } [ModelDB] public string FREEDAYS { get { return _FREEDAYS; } set { _FREEDAYS = value; } } [ModelDB] public string REMARK { get { return _REMARK; } set { _REMARK = value; } } [ModelDB] public string VALIDDATE { get { return _VALIDDATE; } set { _VALIDDATE = value; } } [ModelDB] public string VALIDDATE_END { get { return _VALIDDATE_END; } set { _VALIDDATE_END = value; } } #endregion public CRM_QUOTATION_CARRIERmb ( ) { TableName = "CRM_QUOTATION_CARRIER"; } override public string GetBillNoFieldName ( ) { return "LINKGID"; } } }