using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsOpBill { [JsonObject] public class MsOpBill : ModelObjectBillBody { #region 私有成员 private string _BSNO = "";//业务编号 private string _PARENTID = "";//业务编号 private bool _BSSTATUS;//业务状态 private bool _FEESTATUS;//业务状态 private string _BSSTATUSREF;//业务状态 private string _FEESTATUSREF;//业务状态 private string _ACCDATE = "";//会计期间 private string _OPLB = "";//会计期间 private string _OPTYPE = "";//会计期间 private string _OPLBNAME = "";//会计期间 private string _MBLNO = "";//主提单号 private string _HBLNO = "";//分提单号 private string _CUSTNO = "";//委托编号 private string _CUSTOMNO = "";//委托编号 private string _APPLYNO = "";// private string _CARGOID = "";// private string _CUSTOMERNAME = "";//委托单位 private string _VESSEL = "";//船名 private string _VOYNO = "";//航次 private string _ETD;//开船日期 private string _PORTLOAD = "";//卸货港代码 private string _PORTDISCHARGE = "";//卸货港 private string _DESTINATION = "";//卸货港 //private string _CREATETIME;//录入人 private string _INPUTBY = "";//操作员 private string _SALE = "";//揽货人 private string _OP = "";//揽货人 private string _DOC = "";//揽货人 private string _CUSTSERVICE = "";//揽货人 private string _BSSOURCE = "";//业务来源 private string _BSSOURCEDETAIL = "";//来源明细 private string _CORPID = "";//分公司代码 #endregion #region 读写属性 /// /// 业务编号 /// public string BSNO { get { return _BSNO; } set { _BSNO = value; } } public string PARENTID { get { return _PARENTID; } set { _PARENTID = value; } } /// /// 业务状态 /// public bool BSSTATUS { get { return _BSSTATUS; } set { _BSSTATUS = value; } } public bool FEESTATUS { get { return _FEESTATUS; } set { _FEESTATUS = value; } } public string BSSTATUSREF { get { return _BSSTATUSREF; } set { _BSSTATUSREF = value; } } public string FEESTATUSREF { get { return _FEESTATUSREF; } set { _FEESTATUSREF = value; } } /// /// 会计期间 /// public string ACCDATE { get { return _ACCDATE; } set { _ACCDATE = value; } } public string OPLB { get { return _OPLB; } set { _OPLB = value; } } public string OPLBNAME { get { return _OPLBNAME; } set { _OPLBNAME = value; } } public string OPTYPE { get { return _OPTYPE; } set { _OPTYPE = value; } } /// /// 主提单号 /// public string MBLNO { get { return _MBLNO; } set { _MBLNO = value; } } /// /// 分提单号 /// public string HBLNO { get { return _HBLNO; } set { _HBLNO = value; } } /// /// 委托编号 /// /// public string ORDERNO { get; set; } public string CUSTNO { get { return _CUSTNO; } set { _CUSTNO = value; } } public string CUSTOMNO { get { return _CUSTOMNO; } set { _CUSTOMNO = value; } } public string APPLYNO { get { return _APPLYNO; } set { _APPLYNO = value; } } public string CARGOID { get { return _CARGOID; } set { _CARGOID = value; } } /// /// 委托单位 /// public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } } /// /// 船名 /// public string VESSEL { get { return _VESSEL; } set { _VESSEL = value; } } /// /// 航次 /// public string VOYNO { get { return _VOYNO; } set { _VOYNO = value; } } /// /// 开船日期 /// public string ETD { get { return _ETD; } set { _ETD = value; } } public string ETA { get; set; } public string AGENTID { get; set; } public string CARRIER { get; set; } public string FORWARDER { get; set; } /// /// 卸货港代码 /// public string PORTLOAD { get { return _PORTLOAD; } set { _PORTLOAD = value; } } /// /// 卸货港 /// public string PORTDISCHARGE { get { return _PORTDISCHARGE; } set { _PORTDISCHARGE = value; } } public string DESTINATION { get { return _DESTINATION; } set { _DESTINATION = value; } } public string GOODSNAME { get; set; } /// /// 录入人 /// 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 DOC { get { return _DOC; } set { _DOC = value; } } /// /// 揽货人 /// public string SALE { get { return _SALE; } set { _SALE = value; } } /// /// 业务来源 /// public string BSSOURCE { get { return _BSSOURCE; } set { _BSSOURCE = value; } } /// /// 来源明细 /// public string BSSOURCEDETAIL { get { return _BSSOURCEDETAIL; } set { _BSSOURCEDETAIL = value; } } public string CORPID { get { return _CORPID; } set { _CORPID = value; } } public string YARD { get; set; } public string DESTINATIONID { get; set; } public string CNTRTOTAL { get; set; } public string PORTLOADID { get; set; } #endregion public MsOpBill() { TableName = "op_bill"; } override public string GetBillNoFieldName() { return "BsNo"; } } [JsonObject] public class MsOpSeaeBillTrack : ModelObjectBillHead { public MsOpSeaeBillTrack() { TableName = "op_seae_billtrack"; } public string MBLNO { get; set; } public string CARRIERID { get; set; } public string YARD { get; set; } public string TiXiangShiJian { get; set; } public string FanChangShiJian { get; set; } public string YunDiShiJian { get; set; } public string CangDanShiJian { get; set; } public string BaoGuanFangXing { get; set; } public string ZhuangZaiFangXing { get; set; } public string MaTouFangXing { get; set; } public string KaiChuanShiJian { get; set; } public string ETA { get; set; } public string ATA { get; set; } public string MuDiGangTiXiang { get; set; } public string MuDiGangFanKong { get; set; } } #region 参照部分 #endregion }