using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsSeaiFee { [JsonObject] public class MsOpSeai : ModelObjectBillBody { #region 私有成员 private string _BSNO = Guid.NewGuid().ToString();//业务编号 private bool _BSSTATUS;//业务状态 private bool _FEESTATUS;//费用状态 private DateTime _BSDATE = DateTime.Now;//录入日期 private string _ACCDATE = "";//会计期间 private string _MBLNO = "";//主提单号 private string _HBLNO = "";//分提单号 private string _CUSTNO = "";//委托编号 private string _TRANSNO = "";//运单号 private string _CUSTOMERNAME = "";//委托单位 private string _BLTYPE = "";//装运方式 private string _SHIPPERID = "";//发货人 private string _CONSIGNEEID = "";//收货人 private string _NOTIFYPARTYID = "";//通知人 private string _AGENTID = "";//国外代理 private string _YARD = "";//场站 private string _VESSEL = "";//船名 private string _VOYNO = "";//航次 private DateTime _ETD;//开船日期 private DateTime _CLOSINGDATE;//截港日期 private DateTime _ETA;//预抵日期 private string _PORTLOAD = "";//卸货港代码 private string _PORTDISCHARGEID = "";//卸货港代码 private string _PORTDISCHARGE = "";//卸货港 private string _BLFRT = "";//付费方式 private string _SERVICE = "";//运输条款 private string _CNTRTOTAL = "";//集装箱 private string _INPUTBY = "";//录入人 private DateTime _CREATETIME;//录入人 private string _OP = "";//操作员 private string _CUSTSERVICE = "";//客服 private string _LANE = "";//航线 private string _SALE = "";//揽货人 private string _CARRIER = "";//船公司 private string _FORWARDER = "";//订舱代理 private string _CUSTOMSER = "";//报关行 private string _TRUCKER = "";//承运车队 private string _BSSOURCE = "";//业务来源 private string _BSSOURCEDETAIL = "";//来源明细 private string _ORDTYPE = "";//订舱类型 private string _ORDERNO = "";//订舱编号 private string _CORPID = "";//分公司代码 private string _SALEDEPT = "";//所属业务部门 private string _MBLFRT = "";//MBL付费方式 private int _PKGS=0;//件数;eger private Decimal _KGS=0;//毛重 private Decimal _CBM = 0;//尺码 private Decimal _NETWEIGHT = 0;//净重 private string _GOODSNAME = "";//品名 private string _TRADETYPE = "";//贸易方式 #endregion #region 读写属性 /// /// 业务编号 /// public string BSNO {get{return _BSNO ;}set { _BSNO = value;}} /// /// 业务状态 /// public bool BSSTATUS { get { return _BSSTATUS; } set { _BSSTATUS = value; } } /// /// 费用状态 /// public bool FEESTATUS { get { return _FEESTATUS; } set { _FEESTATUS = value; } } /// /// 录入日期 /// public DateTime BSDATE {get{return _BSDATE ;}set { _BSDATE = value;}} /// /// 会计期间 /// public string ACCDATE {get{return _ACCDATE ;}set { _ACCDATE = value;}} /// /// 主提单号 /// public string MBLNO {get{return _MBLNO ;}set { _MBLNO = value;}} /// /// 分提单号 /// public string HBLNO {get{return _HBLNO ;}set { _HBLNO = value;}} /// /// 委托编号 /// public string CUSTNO {get{return _CUSTNO ;}set { _CUSTNO = value;}} /// /// 运单号 /// public string TRANSNO {get{return _TRANSNO ;}set { _TRANSNO = value;}} /// /// 委托单位 /// public string CUSTOMERNAME {get{return _CUSTOMERNAME ;}set { _CUSTOMERNAME = value;}} /// /// 装运方式 /// public string BLTYPE {get{return _BLTYPE ;}set { _BLTYPE = value;}} /// /// 发货人 /// public string SHIPPERID {get{return _SHIPPERID ;}set { _SHIPPERID = value;}} /// /// 收货人 /// public string CONSIGNEEID {get{return _CONSIGNEEID ;}set { _CONSIGNEEID = value;}} /// /// 通知人 /// public string NOTIFYPARTYID {get{return _NOTIFYPARTYID ;}set { _NOTIFYPARTYID = value;}} /// /// 国外代理 /// public string AGENTID {get{return _AGENTID ;}set { _AGENTID = value;}} /// /// 场站 /// public string YARD {get{return _YARD ;}set { _YARD = value;}} /// /// 船名 /// public string VESSEL {get{return _VESSEL ;}set { _VESSEL = value;}} /// /// 航次 /// public string VOYNO {get{return _VOYNO ;}set { _VOYNO = value;}} /// /// 开船日期 /// public DateTime ETD {get{return _ETD ;}set { _ETD = value;}} /// /// 截港日期 /// public DateTime CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } } public DateTime CLOSINGDATE { get { return _CLOSINGDATE; } set { _CLOSINGDATE = value; } } /// /// 预抵日期 /// public DateTime ETA {get{return _ETA ;}set { _ETA = value;}} public string PORTDISCHARGEID { get { return _PORTDISCHARGEID; } set { _PORTDISCHARGEID = value; } } /// /// 卸货港代码 /// public string PORTLOAD { get { return _PORTLOAD; } set { _PORTLOAD = value; } } /// /// 卸货港 /// public string PORTDISCHARGE {get{return _PORTDISCHARGE ;}set { _PORTDISCHARGE = value;}} /// /// 付费方式 /// public string BLFRT {get{return _BLFRT ;}set { _BLFRT = value;}} /// /// 运输条款 /// public string SERVICE {get{return _SERVICE ;}set { _SERVICE = value;}} /// /// 集装箱 /// public string CNTRTOTAL {get{return _CNTRTOTAL ;}set { _CNTRTOTAL = value;}} /// /// 录入人 /// public string INPUTBY {get{return _INPUTBY ;}set { _INPUTBY = value;}} /// /// 操作员 /// public string OP {get{return _OP ;}set { _OP = value;}} /// /// 客服 /// public string CUSTSERVICE {get{return _CUSTSERVICE ;}set { _CUSTSERVICE = value;}} /// /// 航线 /// public string LANE {get{return _LANE ;}set { _LANE = value;}} /// /// 揽货人 /// public string SALE {get{return _SALE ;}set { _SALE = value;}} /// /// 船公司 /// public string CARRIER {get{return _CARRIER ;}set { _CARRIER = value;}} /// /// 订舱代理 /// public string FORWARDER {get{return _FORWARDER ;}set { _FORWARDER = value;}} /// /// 报关行 /// public string CUSTOMSER {get{return _CUSTOMSER ;}set { _CUSTOMSER = value;}} /// /// 承运车队 /// public string TRUCKER {get{return _TRUCKER ;}set { _TRUCKER = value;}} /// /// 业务来源 /// public string BSSOURCE {get{return _BSSOURCE ;}set { _BSSOURCE = value;}} /// /// 来源明细 /// public string BSSOURCEDETAIL {get{return _BSSOURCEDETAIL ;}set { _BSSOURCEDETAIL = value;}} /// /// 订舱类型 /// public string ORDTYPE {get{return _ORDTYPE ;}set { _ORDTYPE = value;}} /// /// 订舱编号 /// public string ORDERNO {get{return _ORDERNO ;}set { _ORDERNO = value;}} public string CORPID {get{return _CORPID ;}set { _CORPID = value;}} /// /// 所属业务部门 /// public string SALEDEPT {get{return _SALEDEPT ;}set { _SALEDEPT = value;}} /// /// MBL付费方式 /// public string MBLFRT {get{return _MBLFRT ;}set { _MBLFRT = value;}} public int PKGS { get { return _PKGS; } set { _PKGS = value; } } /// /// 毛重 /// public Decimal KGS { get { return _KGS; } set { _KGS = value; } } /// /// 尺码 /// public Decimal CBM { get { return _CBM; } set { _CBM = value; } } /// /// 净重 /// public Decimal NETWEIGHT { get { return _NETWEIGHT; } set { _NETWEIGHT = value; } } /// /// 品名 /// public string GOODSNAME { get { return _GOODSNAME; } set { _GOODSNAME = value; } } /// /// 贸易方式 /// public string TRADETYPE { get { return _TRADETYPE; } set { _TRADETYPE = value; } } #endregion public MsOpSeai() { TableName = "op_seai"; } override public string GetBillNoFieldName() { return "BsNo"; } } [JsonObject] public class MsFeeUnit : ModelObjectBillBody { #region private Fields private string _unit = String.Empty; #endregion #region Public Properties public string UNIT { get; set; } public decimal QUANTITY { get; set; } #endregion override public string GetBillNoFieldName() { return "BsNo"; } } #region 参照部分 #endregion }