using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace JobAutoCreateFee.Model { [JsonObject] public class MsFeeProject { public string FA_ID { get; set; } public string FADESCRIP { get; set; } public string PROJECTTYPE { get; set; } public bool ISDEFAUT { get; set; } public bool ISDEP { get; set; } public string FEETYPE { get; set; } public string INPUTBY { get; set; } } public class MsOpFeeCreate { public string BSNO{ get; set; } public bool ISDEFAUT { get; set; } } public class MsFeeProjectCodition { public string FA_ID { get; set; } public string CONDITIONNAME { get; set; } public string CONDITION { get; set; } public string CONDITIONVALUE { get; set; } } public class MsFeeUnit { public string FEEUNIT { get; set; } public decimal FEEQUANTITY { get; set; } } [JsonObject] public class MsChFee { #region private Fields #endregion #region Public Properties public string DE_ID { get; set; } public string FA_ID { get; set; } public decimal TAXRATE { get; set; } public string FeeType { get; set; } public string FeeName { get; set; } public string FeeEName { get; set; } public string CustomerType { get; set; } public string CustomerName { get; set; } public string Unit { get; set; } public decimal UnitPrice { get; set; } public decimal Quantity { get; set; } public decimal Amount { get; set; } public string Currency { get; set; } public decimal ExChangerate { get; set; } public string Reason { get; set; } public string Remark { get; set; } public string OpName { get; set; } public string AuditName { get; set; } public string EnterDate { get; set; } public string DebitNo { get; set; } public string IsDebit { get; set; } public string IsOpen { get; set; } public string ISACC { get; set; } public string IsAdvancedpay { get; set; } public string Sort { get; set; } public string IsInvoice { get; set; } public string FeeFrt { get; set; } public string IsCrmOrderFee { get; set; } #endregion } [JsonObject] public class MsOpSeae { #region 读写属性 private string _bsno = "topseae" + Guid.NewGuid().ToString(); /// /// 业务编号 /// public string BSNO { get { return _bsno; } set { _bsno = value; } } public string ISBSNO { get; set; } public bool ISYARDDR { get; set; } public bool ISYARDCR { get; set; } public bool ISDGDR { get; set; } public bool ISDGCR { get; set; } public bool ISCDDR { get; set; } public bool ISCDCR { get; set; } public bool ISVGMDR { get; set; } public bool ISVGMCR { get; set; } public bool ISCZFDR { get; set; } public bool ISCZFCR { get; set; } public string DLFA { get; set; } private string _ordertype = "操作录入"; /// /// 委托方式 /// public string ORDERTYPE { get { return _ordertype; } set { _ordertype = value; } } private string _masterno = ""; /// /// 主编号 /// public string MASTERNO { get { return _masterno; } set { _masterno = value; } } private string _custno = ""; /// /// 委托编号 /// public string CUSTNO { get { return _custno; } set { _custno = value; } } private string _mblno = ""; /// /// 主提单号 /// public string MBLNO { get { return _mblno; } set { _mblno = value; } } private string _hblno = ""; /// /// 分提单号 /// public string HBLNO { get { return _hblno; } set { _hblno = value; } } private string _applyno = ""; /// /// 放箱申请单号 /// public string APPLYNO { get { return _applyno; } set { _applyno = value; } } private bool _bsstatus = false; /// /// 业务状态 /// public bool BSSTATUS { get { return _bsstatus; } set { _bsstatus = value; } } private string _BSSTATUSREF = "未锁定"; /// /// 业务锁定_中文 /// public string BSSTATUSREF { get { return _BSSTATUSREF; } set { _BSSTATUSREF = value; } } private string _OPSTATUS = "接受委托";//接单 /// /// 业务状态_中文 /// public string OPSTATUS { get { return _OPSTATUS; } set { _OPSTATUS = value; } } private string _MANIFESTSTATUS = "无状态"; /// /// 业务状态_中文 /// public string MANIFESTSTATUS { get { return _MANIFESTSTATUS; } set { _MANIFESTSTATUS = value; } } private bool _feestatus = false; /// /// 费用状态 /// public bool FEESTATUS { get { return _feestatus; } set { _feestatus = value; } } private string _FEESTATUSREF = "未锁定"; /// /// 费用状态_中文 /// public string FEESTATUSREF { get { return _FEESTATUSREF; } set { _FEESTATUSREF = value; } } private string _FENPIAO = "0"; /// /// 分票 /// public string FENPIAO { get { return _FENPIAO; } set { _FENPIAO = value; } } private string _AMEND = "0"; /// /// 是否有更改 /// public string AMEND { get { return _AMEND; } set { _AMEND = value; } } private string _ISAPPLY = "0"; /// /// 是否生成报关 /// public string ISAPPLY { get { return _ISAPPLY; } set { _ISAPPLY = value; } } private DateTime _bsdate = DateTime.Now; /// /// 接单日期 /// public DateTime BSDATE { get { return _bsdate; } set { _bsdate = value; } } private string _accdate = DateTime.Now.ToString("yyyy-MM"); /// /// 会计期间 /// public string ACCDATE { get { return _accdate; } set { _accdate = value; } } private string _customername = ""; /// /// 委托单位 /// public string CUSTOMERNAME { get { return _customername; } set { _customername = value; } } private string _bssource = ""; /// /// 业务来源 /// public string BSSOURCE { get { return _bssource; } set { _bssource = value; } } private string _bssourcedetail = ""; /// /// 来源明细 /// public string BSSOURCEDETAIL { get { return _bssourcedetail; } set { _bssourcedetail = value; } } private string _inputby = ""; /// /// 录入人 /// public string INPUTBY { get { return _inputby; } set { _inputby = value; } } private string _op = ""; /// /// 操作员 /// public string OP { get { return _op; } set { _op = value; } } private string _custservice = ""; /// /// 客服员 /// public string CUSTSERVICE { get { return _custservice; } set { _custservice = value; } } private string _frcustservice = ""; /// /// 海外客服员 /// public string FRCUSTSERVICE { get { return _frcustservice; } set { _frcustservice = value; } } private string _sale = ""; /// /// 揽货人 /// public string SALE { get { return _sale; } set { _sale = value; } } private string _corpid = ""; /// /// 分公司代码 /// public string CORPID { get { return _corpid; } set { _corpid = value; } } private string _salecorpid = ""; /// /// 分公司代码 /// public string SALECORPID { get { return _salecorpid; } set { _salecorpid = value; } } private string _salecorp = ""; /// /// 分公司代码 /// public string SALECORP { get { return _salecorp; } set { _salecorp = value; } } private string _saledept = ""; /// /// 所属部门 /// public string SALEDEPT { get { return _saledept; } set { _saledept = value; } } private string _createtime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); /// /// 创建时间 /// public string CREATETIME { get { return _createtime; } set { _createtime = value; } } private string _transno = ""; /// /// 运单号 /// public string TRANSNO { get { return _transno; } set { _transno = value; } } private string _vessel = ""; /// /// 船名 /// public string VESSEL { get { return _vessel; } set { _vessel = value; } } private string _voyno = ""; /// /// 航次 /// public string VOYNO { get { return _voyno; } set { _voyno = value; } } private string _etd; /// /// 开船日期 /// public string ETD { get { return _etd; } set { _etd = value; } } private string _atd; /// /// 实际开船日期 /// public string ATD { get { return _atd; } set { _atd = value; } } private string _deliverydate = null; /// /// 交货日期 /// public string DELIVERYDATE { get { return _deliverydate; } set { _deliverydate = value; } } private string _closingdate; /// /// 截港日期 /// public string CLOSINGDATE { get { return _closingdate; } set { _closingdate = value; } } private string _eta; /// /// 预抵日期 /// public string ETA { get { return _eta; } set { _eta = value; } } private string _placereceipt = ""; /// /// 收货地 /// public string PLACERECEIPT { get { return _placereceipt; } set { _placereceipt = value; } } private string _portloadid = ""; /// /// 装货港代码 /// public string PORTLOADID { get { return _portloadid; } set { _portloadid = value; } } private string _portload = ""; /// /// 装货港 /// public string PORTLOAD { get { return _portload; } set { _portload = value; } } private string _TRANSPORT = ""; /// /// 中转港 /// public string TRANSPORT { get { return _TRANSPORT; } set { _TRANSPORT = value; } } private string _portdischargeid = ""; /// /// 卸货港代码 /// public string PORTDISCHARGEID { get { return _portdischargeid; } set { _portdischargeid = value; } } private string _portdischarge = ""; /// /// 卸货港 /// public string PORTDISCHARGE { get { return _portdischarge; } set { _portdischarge = value; } } private string _placedeliveryid = ""; /// /// 交货地代码 /// public string PLACEDELIVERYID { get { return _placedeliveryid; } set { _placedeliveryid = value; } } private string _placedelivery = ""; /// /// 交货地 /// public string PLACEDELIVERY { get { return _placedelivery; } set { _placedelivery = value; } } private string _destinationid = ""; /// /// 目的地代码 /// public string DESTINATIONID { get { return _destinationid; } set { _destinationid = value; } } private string _destination = ""; /// /// 目的地 /// public string DESTINATION { get { return _destination; } set { _destination = value; } } private string _nobill = ""; /// /// 提单份数 /// public string NOBILL { get { return _nobill; } set { _nobill = value; } } private string _copynobill = ""; /// /// 提单份数 /// public string COPYNOBILL { get { return _copynobill; } set { _copynobill = value; } } private string _issuetype = ""; /// /// 签单方式 /// public string ISSUETYPE { get { return _issuetype; } set { _issuetype = value; } } private string _issuedate; /// /// 签单日期 /// public string ISSUEDATE { get { return _issuedate; } set { _issuedate = value; } } private string _issueplace = ""; /// /// 签单地点 /// public string ISSUEPLACE { get { return _issueplace; } set { _issueplace = value; } } private string _bltype = "整箱"; /// /// 装运方式 /// public string BLTYPE { get { return _bltype; } set { _bltype = value; } } private string _shipperid = ""; /// /// 发货人 /// public string SHIPPERID { get { return _shipperid; } set { _shipperid = value; } } private string _consigneeid = ""; /// /// 收货人 /// public string CONSIGNEEID { get { return _consigneeid; } set { _consigneeid = value; } } private string _notifypartyid = ""; /// /// 通知人 /// public string NOTIFYPARTYID { get { return _notifypartyid; } set { _notifypartyid = value; } } private string _shipper = ""; /// /// 发货人内容 /// public string SHIPPER { get { return _shipper; } set { _shipper = value; } } private string _consignee = ""; /// /// 收货人内容 /// public string CONSIGNEE { get { return _consignee; } set { _consignee = value; } } private string _notifyparty = ""; /// /// 通知人内容 /// public string NOTIFYPARTY { get { return _notifyparty; } set { _notifyparty = value; } } private string _mshipperid = ""; /// /// 发货人 /// public string MSHIPPERID { get { return _mshipperid; } set { _mshipperid = value; } } private string _mconsigneeid = ""; /// /// 收货人 /// public string MCONSIGNEEID { get { return _mconsigneeid; } set { _mconsigneeid = value; } } private string _mnotifypartyid = ""; /// /// 通知人 /// public string MNOTIFYPARTYID { get { return _mnotifypartyid; } set { _mnotifypartyid = value; } } private string _mshipper = ""; /// /// 发货人内容 /// public string MSHIPPER { get { return _mshipper; } set { _mshipper = value; } } private string _mconsignee = ""; /// /// 收货人内容 /// public string MCONSIGNEE { get { return _mconsignee; } set { _mconsignee = value; } } private string _mnotifyparty = ""; /// /// 通知人内容 /// public string MNOTIFYPARTY { get { return _mnotifyparty; } set { _mnotifyparty = value; } } private string _agentid = ""; /// /// 国外代理 /// public string AGENTID { get { return _agentid; } set { _agentid = value; } } private string _agent = ""; /// /// 国外代理内容 /// public string AGENT { get { return _agent; } set { _agent = value; } } private string _yard = ""; /// /// 场站/靠泊码头 /// public string YARD { get { return _yard; } set { _yard = value; } } private string _yardattn = ""; /// /// 场站/靠泊码头 /// public string YARDATTN { get { return _yardattn; } set { _yardattn = value; } } private string _yardtel = ""; /// /// 场站/靠泊码头 /// public string YARDTEL { get { return _yardtel; } set { _yardtel = value; } } private string _blfrt = "FREIGHT PREPAID"; /// /// 付费方式 /// public string BLFRT { get { return _blfrt; } set { _blfrt = value; } } private string _prepardat = ""; /// /// 预付地点 /// public string PREPARDAT { get { return _prepardat; } set { _prepardat = value; } } private string _payableat = ""; /// /// 到付地点 /// public string PAYABLEAT { get { return _payableat; } set { _payableat = value; } } private string _service = "CY-CY"; /// /// 运输条款 /// public string SERVICE { get { return _service; } set { _service = value; } } private string _marks = ""; /// /// 唛头 /// public string MARKS { get { return _marks; } set { _marks = value; } } private string _cntrsealno = ""; /// /// 箱号封号 /// public string CNTRSEALNO { get { return _cntrsealno; } set { _cntrsealno = value; } } private string _nopkgs = ""; /// /// 件数包装 /// public string NOPKGS { get { return _nopkgs; } set { _nopkgs = value; } } private string _description = ""; /// /// 货物描述 /// public string DESCRIPTION { get { return _description; } set { _description = value; } } private string _grossweight = ""; /// /// 货物毛重 /// public string GROSSWEIGHT { get { return _grossweight; } set { _grossweight = value; } } private string _measurement = ""; /// /// 货物尺码 /// public string MEASUREMENT { get { return _measurement; } set { _measurement = value; } } private string _pkgs = "0"; /// /// 件数 /// public string PKGS { get { return _pkgs; } set { _pkgs = value; } } private string _kindpkgs = ""; /// /// 件数包装 /// public string KINDPKGS { get { return _kindpkgs; } set { _kindpkgs = value; } } private string _cbm = "0"; /// /// 立方数/尺码 /// public string CBM { get { return _cbm; } set { _cbm = value; } } private string _totalno = ""; /// /// 件数大写 /// public string TOTALNO { get { return _totalno; } set { _totalno = value; } } private string _cntrno = ""; /// /// 集装箱大写 /// public string CNTRNO { get { return _cntrno; } set { _cntrno = value; } } private int _cntr1 = 0; /// /// 箱型1 /// public int CNTR1 { get { return _cntr1; } set { _cntr1 = value; } } private int _cntr2 = 0; /// /// 箱型2 /// public int CNTR2 { get { return _cntr2; } set { _cntr2 = value; } } private int _cntr3 = 0; /// /// 箱型3 /// public int CNTR3 { get { return _cntr3; } set { _cntr3 = value; } } private int _cntr4 = 0; /// /// 箱型4 /// public int CNTR4 { get { return _cntr4; } set { _cntr4 = value; } } private int _cntr5 = 0; /// /// 箱型5 /// public int CNTR5 { get { return _cntr5; } set { _cntr5 = value; } } private int _cntr6 = 0; /// /// 箱型6 /// public int CNTR6 { get { return _cntr6; } set { _cntr6 = value; } } private int _cntr7 = 0; /// /// 箱型7 /// public int CNTR7 { get { return _cntr7; } set { _cntr7 = value; } } private int _cntr8 = 0; /// /// 箱型8 /// public int CNTR8 { get { return _cntr8; } set { _cntr8 = value; } } private int _cntr9 = 0; /// /// 箱型9 /// public int CNTR9 { get { return _cntr9; } set { _cntr9 = value; } } private int _cntr10 = 0; /// /// 箱型10 /// public int CNTR10 { get { return _cntr10; } set { _cntr10 = value; } } private int _otcntr = 0; /// /// 其他箱型 /// public int OTCNTR { get { return _otcntr; } set { _otcntr = value; } } private int _teu = 0; /// /// 箱TEU /// public int TEU { get { return _teu; } set { _teu = value; } } private string _cntrtotal = ""; /// /// 集装箱全部内容 /// public string CNTRTOTAL { get { return _cntrtotal; } set { _cntrtotal = value; } } private string _goodsname = ""; /// /// 品名 /// public string GOODSNAME { get { return _goodsname; } set { _goodsname = value; } } private string _contractno = ""; /// /// 合同号/运费协议号 /// public string CONTRACTNO { get { return _contractno; } set { _contractno = value; } } private string _kgs = "0"; /// /// 毛重 /// public string KGS { get { return _kgs; } set { _kgs = value; } } private string _customser = ""; /// /// 报关行 /// public string CUSTOMSER { get { return _customser; } set { _customser = value; } } private string _lane = ""; /// /// 航线 /// public string LANE { get { return _lane; } set { _lane = value; } } private string _carrier = ""; /// /// 船公司 /// public string CARRIER { get { return _carrier; } set { _carrier = value; } } private string _forwarder = ""; /// /// 订舱公司 /// public string FORWARDER { get { return _forwarder; } set { _forwarder = value; } } private string _trucker = ""; /// /// 承运车队 /// public string TRUCKER { get { return _trucker; } set { _trucker = value; } } private string _invno = ""; /// /// 发票号 /// public string INVNO { get { return _invno; } set { _invno = value; } } private string _cargoid = ""; /// /// 货物标识 /// public string CARGOID { get { return _cargoid; } set { _cargoid = value; } } private string _dclass = ""; /// /// 危险品分类/等级 /// public string DCLASS { get { return _dclass; } set { _dclass = value; } } private string _dunno = ""; /// /// 危险品编号 /// public string DUNNO { get { return _dunno; } set { _dunno = value; } } private string _dpage = ""; /// /// 危险品页号 /// public string DPAGE { get { return _dpage; } set { _dpage = value; } } private string _dlabel = ""; /// /// 危险品标签 /// public string DLABEL { get { return _dlabel; } set { _dlabel = value; } } private string _linkman = ""; /// /// 危险品联系人 /// public string LINKMAN { get { return _linkman; } set { _linkman = value; } } private string _reeferf = ""; /// /// 冷藏通风量 /// public string REEFERF { get { return _reeferf; } set { _reeferf = value; } } private string _tempid = ""; /// /// 温度单位 /// public string TEMPID { get { return _tempid; } set { _tempid = value; } } private string _tempset = ""; /// /// 设置温度 /// public string TEMPSET { get { return _tempset; } set { _tempset = value; } } private string _tempmax = ""; /// /// 最高温度 /// public string TEMPMAX { get { return _tempmax; } set { _tempmax = value; } } private string _tempmin = ""; /// /// 最低温度 /// public string TEMPMIN { get { return _tempmin; } set { _tempmin = value; } } private string _HUMIDITY = ""; /// /// 湿度 /// public string HUMIDITY { get { return _HUMIDITY; } set { _HUMIDITY = value; } } private int _customsnum = 0; /// /// 报关票数 /// public int CUSTOMSNUM { get { return _customsnum; } set { _customsnum = value; } } private string _ordtype = ""; /// /// 订舱类型 /// public string ORDTYPE { get { return _ordtype; } set { _ordtype = value; } } private string _orderno = ""; /// /// 订舱编号 /// public string ORDERNO { get { return _orderno; } set { _orderno = value; } } private string _insuranceer = ""; /// /// 保险人 /// public string INSURANCEER { get { return _insuranceer; } set { _insuranceer = value; } } private string _insuranceno = ""; /// /// 保险单号 /// public string INSURANCENO { get { return _insuranceno; } set { _insuranceno = value; } } private decimal _inamout = 0; /// /// 保险金额 /// public decimal INAMOUT { get { return _inamout; } set { _inamout = value; } } private bool _isvou = false; /// /// 是否生成凭证 /// public bool ISVOU { get { return _isvou; } set { _isvou = value; } } private string _vouno = ""; /// /// 凭证号 /// public string VOUNO { get { return _vouno; } set { _vouno = value; } } private string _remark = ""; /// /// 备注 /// public string REMARK { get { return _remark; } set { _remark = value; } } private string _doc = ""; /// /// 单证 /// public string DOC { get { return _doc; } set { _doc = value; } } #endregion } }