using System; using HcUtility.Core; using Newtonsoft.Json; //需求编号:SR2017091200003 namespace DSWeb.MvcShipping.Models.MsCrmPriceCarrier { [JsonObject] public class MsCrmPriceCarrier : ModelObjectBillHead { #region 读写属性 private string _gid = ""; /// /// 惟一编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _gid; } set { _gid = value; } } private bool _lockflag = false; /// /// 是否锁定 /// [ModelDB] public bool LOCKFLAG { get { return _lockflag; } set { _lockflag = value; } } private bool _isissue = false; /// /// 是否发布 /// [ModelDB] public bool ISISSUE { get { return _isissue; } set { _isissue = value; } } private string _lane = ""; /// /// 航线 /// [ModelDB] public string LANE { get { return _lane; } set { _lane = value; } } private string _podload = ""; /// /// 起运港 /// [ModelDB] public string PODLOAD { get { return _podload; } set { _podload = value; } } private string _portdischargeid = ""; /// /// 卸货港ID /// [ModelDB] public string PORTDISCHARGEID { get { return _portdischargeid; } set { _portdischargeid = value; } } private string _portdischarge = ""; /// /// 卸货港中文 /// [ModelDB] public string PORTDISCHARGE { get { return _portdischarge; } set { _portdischarge = value; } } private string _carrier = ""; /// /// 船公司 /// [ModelDB] public string CARRIER { get { return _carrier; } set { _carrier = value; } } private string _via = ""; /// /// 中转港 /// [ModelDB] public string VIA { get { return _via; } set { _via = value; } } private string _via2 = ""; /// /// 中转港2 /// [ModelDB] public string VIA2 { get { return _via2; } set { _via2 = value; } } private string _etd = ""; /// /// 开航日/船期 /// [ModelDB] public string ETD { get { return _etd; } set { _etd = value; } } private string _tt = ""; /// /// 航程 /// [ModelDB] public string TT { get { return _tt; } set { _tt = value; } } private string _CONTRACTNO = ""; /// /// 运费协议号 /// [ModelDB] public string CONTRACTNO { get { return _CONTRACTNO; } set { _CONTRACTNO = value; } } private DateTime _effectivedate; /// /// 生效期/开始日期 /// [ModelDB] public DateTime EFFECTIVEDATE { get { return _effectivedate; } set { _effectivedate = value; } } private DateTime _validdate; /// /// 有效期/结束日期 /// [ModelDB] public DateTime VALIDDATE { get { return _validdate; } set { _validdate = value; } } private string _commodity = ""; /// /// 品名/特殊商品 /// [ModelDB] public string COMMODITY { get { return _commodity; } set { _commodity = value; } } private string _remark = ""; /// /// 备注 /// [ModelDB] public string REMARK { get { return _remark; } set { _remark = value; } } private string _inputby = ""; /// /// 录入人 /// [ModelDB(MDBType = ModelDBOprationType.Insert, IsPrimary = true)] public string INPUTBY { get { return _inputby; } set { _inputby = value; } } private string _inputbyref = ""; public string INPUTBYREF { get { return _inputbyref; } set { _inputbyref = value; } } private DateTime _inputtime = DateTime.Now; /// /// 录入日期 /// [ModelDB(MDBType = ModelDBOprationType.Insert, IsPrimary = true)] public DateTime INPUTTIME { get { return _inputtime; } set { _inputtime = value; } } private string _modifieduser = ""; /// /// 最后一次操作人GID /// [ModelDB] public string MODIFIEDUSER { get { return _modifieduser; } set { _modifieduser = value; } } private DateTime _modifytime = DateTime.Now; /// /// 最后修改日期 /// [ModelDB] public DateTime MODIFYTIME { get { return _modifytime; } set { _modifytime = value; } } private string _fee0 = ""; /// /// FEE0 /// [ModelDB] public string FEE0 { get { return _fee0; } set { _fee0 = value; } } private string _fee1 = ""; /// /// FEE1 /// [ModelDB] public string FEE1 { get { return _fee1; } set { _fee1 = value; } } private string _fee2 = ""; /// /// FEE2 /// [ModelDB] public string FEE2 { get { return _fee2; } set { _fee2 = value; } } private string _fee3 = ""; /// /// FEE3 /// [ModelDB] public string FEE3 { get { return _fee3; } set { _fee3 = value; } } private string _fee4 = ""; /// /// FEE4 /// [ModelDB] public string FEE4 { get { return _fee4; } set { _fee4 = value; } } private decimal _ctn00 = 0; /// /// CTN00 /// [ModelDB] public decimal CTN00 { get { return _ctn00; } set { _ctn00 = value; } } private decimal _ctn10 = 0; /// /// CTN10 /// [ModelDB] public decimal CTN10 { get { return _ctn10; } set { _ctn10 = value; } } private decimal _ctn20 = 0; /// /// CTN20 /// [ModelDB] public decimal CTN20 { get { return _ctn20; } set { _ctn20 = value; } } private decimal _ctn30 = 0; /// /// CTN30 /// [ModelDB] public decimal CTN30 { get { return _ctn30; } set { _ctn30 = value; } } private decimal _ctn40 = 0; /// /// CTN40 /// [ModelDB] public decimal CTN40 { get { return _ctn40; } set { _ctn40 = value; } } private decimal _ctn50 = 0; /// /// CTN50 /// [ModelDB] public decimal CTN50 { get { return _ctn50; } set { _ctn50 = value; } } private decimal _ctn60 = 0; /// /// CTN60 /// [ModelDB] public decimal CTN60 { get { return _ctn60; } set { _ctn60 = value; } } private decimal _ctn70 = 0; /// /// CTN70 /// [ModelDB] public decimal CTN70 { get { return _ctn70; } set { _ctn70 = value; } } private decimal _ctn80 = 0; /// /// CTN80 /// [ModelDB] public decimal CTN80 { get { return _ctn80; } set { _ctn80 = value; } } private decimal _ctn90 = 0; /// /// CTN90 /// [ModelDB] public decimal CTN90 { get { return _ctn90; } set { _ctn90 = value; } } private decimal _ctn01 = 0; /// /// CTN01 /// [ModelDB] public decimal CTN01 { get { return _ctn01; } set { _ctn01 = value; } } private decimal _ctn11 = 0; /// /// CTN11 /// [ModelDB] public decimal CTN11 { get { return _ctn11; } set { _ctn11 = value; } } private decimal _ctn21 = 0; /// /// CTN21 /// [ModelDB] public decimal CTN21 { get { return _ctn21; } set { _ctn21 = value; } } private decimal _ctn31 = 0; /// /// CTN31 /// [ModelDB] public decimal CTN31 { get { return _ctn31; } set { _ctn31 = value; } } private decimal _ctn41 = 0; /// /// CTN41 /// [ModelDB] public decimal CTN41 { get { return _ctn41; } set { _ctn41 = value; } } private decimal _ctn51 = 0; /// /// CTN51 /// [ModelDB] public decimal CTN51 { get { return _ctn51; } set { _ctn51 = value; } } private decimal _ctn61 = 0; /// /// CTN61 /// [ModelDB] public decimal CTN61 { get { return _ctn61; } set { _ctn61 = value; } } private decimal _ctn71 = 0; /// /// CTN71 /// [ModelDB] public decimal CTN71 { get { return _ctn71; } set { _ctn71 = value; } } private decimal _ctn81 = 0; /// /// CTN81 /// [ModelDB] public decimal CTN81 { get { return _ctn81; } set { _ctn81 = value; } } private decimal _ctn91 = 0; /// /// CTN91 /// [ModelDB] public decimal CTN91 { get { return _ctn91; } set { _ctn91 = value; } } private decimal _ctn02 = 0; /// /// CTN02 /// [ModelDB] public decimal CTN02 { get { return _ctn02; } set { _ctn02 = value; } } private decimal _ctn12 = 0; /// /// CTN12 /// [ModelDB] public decimal CTN12 { get { return _ctn12; } set { _ctn12 = value; } } private decimal _ctn22 = 0; /// /// CTN22 /// [ModelDB] public decimal CTN22 { get { return _ctn22; } set { _ctn22 = value; } } private decimal _ctn32 = 0; /// /// CTN32 /// [ModelDB] public decimal CTN32 { get { return _ctn32; } set { _ctn32 = value; } } private decimal _ctn42 = 0; /// /// CTN42 /// [ModelDB] public decimal CTN42 { get { return _ctn42; } set { _ctn42 = value; } } private decimal _ctn52 = 0; /// /// CTN52 /// [ModelDB] public decimal CTN52 { get { return _ctn52; } set { _ctn52 = value; } } private decimal _ctn62 = 0; /// /// CTN62 /// [ModelDB] public decimal CTN62 { get { return _ctn62; } set { _ctn62 = value; } } private decimal _ctn72 = 0; /// /// CTN72 /// [ModelDB] public decimal CTN72 { get { return _ctn72; } set { _ctn72 = value; } } private decimal _ctn82 = 0; /// /// CTN82 /// [ModelDB] public decimal CTN82 { get { return _ctn82; } set { _ctn82 = value; } } private decimal _ctn92 = 0; /// /// CTN92 /// [ModelDB] public decimal CTN92 { get { return _ctn92; } set { _ctn92 = value; } } private decimal _ctn03 = 0; /// /// CTN03 /// [ModelDB] public decimal CTN03 { get { return _ctn03; } set { _ctn03 = value; } } private decimal _ctn13 = 0; /// /// CTN13 /// [ModelDB] public decimal CTN13 { get { return _ctn13; } set { _ctn13 = value; } } private decimal _ctn23 = 0; /// /// CTN23 /// [ModelDB] public decimal CTN23 { get { return _ctn23; } set { _ctn23 = value; } } private decimal _ctn33 = 0; /// /// CTN33 /// [ModelDB] public decimal CTN33 { get { return _ctn33; } set { _ctn33 = value; } } private decimal _ctn43 = 0; /// /// CTN43 /// [ModelDB] public decimal CTN43 { get { return _ctn43; } set { _ctn43 = value; } } private decimal _ctn53 = 0; /// /// CTN53 /// [ModelDB] public decimal CTN53 { get { return _ctn53; } set { _ctn53 = value; } } private decimal _ctn63 = 0; /// /// CTN63 /// [ModelDB] public decimal CTN63 { get { return _ctn63; } set { _ctn63 = value; } } private decimal _ctn73 = 0; /// /// CTN73 /// [ModelDB] public decimal CTN73 { get { return _ctn73; } set { _ctn73 = value; } } private decimal _ctn83 = 0; /// /// CTN83 /// [ModelDB] public decimal CTN83 { get { return _ctn83; } set { _ctn83 = value; } } private decimal _ctn93 = 0; /// /// CTN93 /// [ModelDB] public decimal CTN93 { get { return _ctn93; } set { _ctn93 = value; } } private decimal _ctn04 = 0; /// /// CTN04 /// [ModelDB] public decimal CTN04 { get { return _ctn04; } set { _ctn04 = value; } } private decimal _ctn14 = 0; /// /// CTN14 /// [ModelDB] public decimal CTN14 { get { return _ctn14; } set { _ctn14 = value; } } private decimal _ctn24 = 0; /// /// CTN24 /// [ModelDB] public decimal CTN24 { get { return _ctn24; } set { _ctn24 = value; } } private decimal _ctn34 = 0; /// /// CTN34 /// [ModelDB] public decimal CTN34 { get { return _ctn34; } set { _ctn34 = value; } } private decimal _ctn44 = 0; /// /// CTN44 /// [ModelDB] public decimal CTN44 { get { return _ctn44; } set { _ctn44 = value; } } private decimal _ctn54 = 0; /// /// CTN54 /// [ModelDB] public decimal CTN54 { get { return _ctn54; } set { _ctn54 = value; } } private decimal _ctn64 = 0; /// /// CTN64 /// [ModelDB] public decimal CTN64 { get { return _ctn64; } set { _ctn64 = value; } } private decimal _ctn74 = 0; /// /// CTN74 /// [ModelDB] public decimal CTN74 { get { return _ctn74; } set { _ctn74 = value; } } private decimal _ctn84 = 0; /// /// CTN84 /// [ModelDB] public decimal CTN84 { get { return _ctn84; } set { _ctn84 = value; } } private decimal _ctn94 = 0; /// /// CTN94 /// [ModelDB] public decimal CTN94 { get { return _ctn94; } set { _ctn94 = value; } } #endregion #region 新增读写属性 用于从合约生成的运价 private string _CONTRACTBSNO = ""; /// /// 用于从 运价合约 生成的运价当中 记录运价合约序列号 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CONTRACTBSNO { get { return _CONTRACTBSNO; } set { _CONTRACTBSNO = value; } } /// /// 小柜的费用明细 下同 /// private string _CTN0PRICESTR; public string CTN0PRICESTR { get { return _CTN0PRICESTR; } set { _CTN0PRICESTR = value; } } private string _CTN1PRICESTR; public string CTN1PRICESTR { get { return _CTN1PRICESTR; } set { _CTN1PRICESTR = value; } } private string _CTN2PRICESTR; public string CTN2PRICESTR { get { return _CTN2PRICESTR; } set { _CTN2PRICESTR = value; } } private string _CTN3PRICESTR; public string CTN3PRICESTR { get { return _CTN3PRICESTR; } set { _CTN3PRICESTR = value; } } private string _CTN4PRICESTR; public string CTN4PRICESTR { get { return _CTN4PRICESTR; } set { _CTN4PRICESTR = value; } } private string _CTN0DETENTION; /// /// 小柜的免箱期 下同 /// [ModelDB] public string CTN0DETENTION { get { return _CTN0DETENTION; } set { _CTN0DETENTION = value; } } private string _CTN1DETENTION; [ModelDB] public string CTN1DETENTION { get { return _CTN1DETENTION; } set { _CTN1DETENTION = value; } } private string _CTN2DETENTION; [ModelDB] public string CTN2DETENTION { get { return _CTN2DETENTION; } set { _CTN2DETENTION = value; } } private string _CTN3DETENTION; [ModelDB] public string CTN3DETENTION { get { return _CTN3DETENTION; } set { _CTN3DETENTION = value; } } private string _CTN4DETENTION; [ModelDB] public string CTN4DETENTION { get { return _CTN4DETENTION; } set { _CTN4DETENTION = value; } } #endregion public MsCrmPriceCarrier() { TableName = "crm_price_carrier_2"; } override public string GetBillNoFieldName() { return "GID"; } } [JsonObject] public class XiaLaKuangModel : ModelObjectBillHead { #region 读写属性 private string _VALUE = ""; /// /// 列名 /// public string VALUE { get { return _VALUE; } set { _VALUE = value; } } private string _NAME = ""; /// /// 标题 /// public string NAME { get { return _NAME; } set { _NAME = value; } } private string _CodeAndName = ""; /// /// VALUE | NAME /// public string CodeAndName { get { return _CodeAndName; } set { _CodeAndName = value; } } #endregion public XiaLaKuangModel() { } override public string GetBillNoFieldName() { return "VALUE"; } } [JsonObject] public class CrmPriceCarrierDetailModel : ModelObjectBillHead { #region 读写属性 private string _gid = ""; /// /// 惟一编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _gid; } set { _gid = value; } } private string _linkgid = ""; /// /// 关联 crm_price_carrier_2 的 GID /// [ModelDB] public string LINKGID { get { return _linkgid; } set { _linkgid = value; } } private string _fieldname = ""; /// /// 字段名称 /// [ModelDB] public string FIELDNAME { get { return _fieldname; } set { _fieldname = value; } } private int _fieldtype = 0; /// /// 字段类型,1.颜色2.修改次数3.标识 /// [ModelDB] public int FIELDTYPE { get { return _fieldtype; } set { _fieldtype = value; } } private string _fieldcontent = ""; /// /// 字段内容 /// [ModelDB] public string FIELDCONTENT { get { return _fieldcontent; } set { _fieldcontent = value; } } private string _modifieduser = ""; /// /// 最后一次操作人GID /// [ModelDB] public string MODIFIEDUSER { get { return _modifieduser; } set { _modifieduser = value; } } private DateTime _modifytime = DateTime.Now; /// /// 最后修改日期 /// [ModelDB] public DateTime MODIFYTIME { get { return _modifytime; } set { _modifytime = value; } } private string _hj = ""; /// /// 合计的修改次数 /// public string hj { get { return _hj; } set { _hj = value; } } #endregion public CrmPriceCarrierDetailModel() { TableName = "crm_price_carrier_detail"; } override public string GetBillNoFieldName() { return "GID"; } } // }