using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsSeaeFee { [JsonObject] public class MsOpSeae : 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 _ISSUETYPE = "";//签单方式 //private DateTime _ISSUEDATE;//签单日期 //private string _ISSUEPLACE = "";//签单地点 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 bool _ISFUMIGATION = false;//熏蒸 private bool _ISSTORAGE = false;//仓储 private bool _ISLAND = false;//陆运 private bool _ISCUSTOMS = false;//报关 private bool _ISINSPECTION = false;//报检 private bool _ISBOOKING = false;//订舱 private bool _ISAGENT = false;//使用代理 private bool _ISHBLNO = false;//分单签单 private bool _SERVICE9 = false;//服务项目9 private bool _SERVICE10 = false;//服务项目10 private string _CORPID = "";//分公司代码 private string _SALEDEPT = "";//所属业务部门 private string _MBLFRT = "";//MBL付费方式 private int _PKGS;//件数;eger private Decimal _KGS;//毛重 private Decimal _CBM;//尺码 #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 bool ISFUMIGATION {get{return _ISFUMIGATION ;}set { _ISFUMIGATION = value;}} /// /// 仓储 /// public bool ISSTORAGE {get{return _ISSTORAGE ;}set { _ISSTORAGE = value;}} /// /// 陆运 /// public bool ISLAND {get{return _ISLAND ;}set { _ISLAND = value;}} /// /// 报关 /// public bool ISCUSTOMS {get{return _ISCUSTOMS ;}set { _ISCUSTOMS = value;}} /// /// 报检 /// public bool ISINSPECTION {get{return _ISINSPECTION ;}set { _ISINSPECTION = value;}} /// /// 订舱 /// public bool ISBOOKING { get { return _ISBOOKING; } set { _ISBOOKING = value; } } /// /// 使用代理 /// public bool ISAGENT { get { return _ISAGENT; } set { _ISAGENT = value; } } /// /// 分单签单 /// public bool ISHBLNO { get { return _ISHBLNO; } set { _ISHBLNO = value; } } /// /// 服务项目9 /// public bool SERVICE9 { get { return _SERVICE9; } set { _SERVICE9 = value; } } /// /// 服务项目10 /// public bool SERVICE10 { get { return _SERVICE10; } set { _SERVICE10 = 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; } } #endregion public MsOpSeae() { TableName = "op_seae"; } 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 }