using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsOpAire { [JsonObject] public class MsOpAire : ModelObjectBillHead { #region 读写属性 private string _bsno = Guid.NewGuid().ToString(); /// /// 整票状态 /// public string BillFeeStatus { get; set; } /// /// 业务编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string BSNO { get{ return _bsno; } set{ _bsno = value; } } private string _ordertype = "操作录入"; /// /// 委托方式 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string ORDERTYPE { get{ return _ordertype; } set{ _ordertype = value; } } private string _masterno = ""; /// /// 主编号 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string MASTERNO { get{ return _masterno; } set{ _masterno = value; } } private string _custno = ""; /// /// 委托编号 /// [ModelDB] public string CUSTNO { get{ return _custno; } set{ _custno = value; } } private string _mblno = ""; /// /// 主提单号 /// [ModelDB] public string MBLNO { get{ return _mblno; } set{ _mblno = value; } } private string _hblno = ""; /// /// 分提单号 /// [ModelDB] public string HBLNO { get{ return _hblno; } set{ _hblno = value; } } private bool _bsstatus = false; /// /// 业务状态 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] 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 bool _feestatus = false; /// /// 费用状态 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public bool FEESTATUS { get{ return _feestatus; } set{ _feestatus = value; } } private string _FEESTATUSREF = "未锁定"; /// /// 费用状态_中文 /// public string FEESTATUSREF { get { return _FEESTATUSREF; } set { _FEESTATUSREF = value; } } private DateTime _bsdate = DateTime.Now; /// /// 接单日期 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public DateTime BSDATE { get{ return _bsdate; } set{ _bsdate = value; } } private string _accdate = DateTime.Now.ToString("yyyy-MM"); /// /// 会计期间 /// [ModelDB] public string ACCDATE { get{ return _accdate; } set{ _accdate = value; } } private string _customername = ""; /// /// 委托单位 /// [ModelDB] public string CUSTOMERNAME { get{ return _customername; } set{ _customername = value; } } private string _bssource = ""; /// /// 业务来源 /// [ModelDB] public string BSSOURCE { get{ return _bssource; } set{ _bssource = value; } } private string _bssourcedetail = ""; /// /// 来源明细 /// [ModelDB] public string BSSOURCEDETAIL { get{ return _bssourcedetail; } set{ _bssourcedetail = value; } } private string _contractno = ""; /// /// 合同号/运费协议号 /// [ModelDB] public string CONTRACTNO { get { return _contractno; } set { _contractno = value; } } private string _inputby = ""; /// /// 录入人 /// [ModelDB] public string INPUTBY { get{ return _inputby; } set{ _inputby = value; } } private string _op = ""; /// /// 操作员 /// [ModelDB] public string OP { get{ return _op; } set{ _op = value; } } private string _custservice = ""; /// /// 客服员 /// [ModelDB] public string CUSTSERVICE { get{ return _custservice; } set{ _custservice = value; } } private string _frcustservice = ""; /// /// 海外客服员 /// [ModelDB] public string FRCUSTSERVICE { get { return _frcustservice; } set { _frcustservice = value; } } private string _sale = ""; /// /// 揽货人 /// [ModelDB] public string SALE { get{ return _sale; } set{ _sale = value; } } private string _corpid = ""; /// /// 分公司代码 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CORPID { get{ return _corpid; } set{ _corpid = value; } } private string _salecorpid = ""; /// /// 分公司代码 /// [ModelDB] public string SALECORPID { get { return _salecorpid; } set { _salecorpid = value; } } private string _salecorp = ""; /// /// 分公司代码 /// public string SALECORP { get { return _salecorp; } set { _salecorp = value; } } private string _saledept = ""; /// /// 所属部门 /// [ModelDB] public string SALEDEPT { get{ return _saledept; } set{ _saledept = value; } } private string _createtime = DateTime.Now.ToString("yyyy-MM-dd"); /// /// 创建时间 /// [ModelDB] public string CREATETIME { get{ return _createtime; } set{ _createtime = value; } } private string _issuetype = ""; /// /// 签单方式 /// [ModelDB] public string ISSUETYPE { get { return _issuetype; } set { _issuetype = value; } } private string _transno = ""; /// /// 运单号 /// [ModelDB] public string TRANSNO { get { return _transno; } set { _transno = value; } } private string _vessel = ""; /// /// 船名 /// [ModelDB] public string VESSEL { get{ return _vessel; } set{ _vessel = value; } } private string _etd; /// /// 开船日期 /// [ModelDB] public string ETD { get { return _etd; } set { _etd = value; } } private string _eta; /// /// 预抵日期 /// [ModelDB] public string ETA { get { return _eta; } set { _eta = value; } } private string _portloadid = ""; /// /// 装货港代码 /// [ModelDB] public string PORTLOADID { get{ return _portloadid; } set{ _portloadid = value; } } private string _portload = ""; /// /// 装货港 /// [ModelDB] public string PORTLOAD { get{ return _portload; } set{ _portload = value; } } private string _portdischargeid = ""; /// /// 卸货港代码 /// [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 _bltype = "空运单票"; /// /// 装运方式 /// [ModelDB] public string BLTYPE { get { return _bltype; } set { _bltype = value; } } private string _shipperid = ""; /// /// 发货人 /// [ModelDB] public string SHIPPERID { get{ return _shipperid; } set{ _shipperid = value; } } private string _consigneeid = ""; /// /// 收货人 /// [ModelDB] public string CONSIGNEEID { get{ return _consigneeid; } set{ _consigneeid = value; } } private string _notifypartyid = ""; /// /// 通知人 /// [ModelDB] public string NOTIFYPARTYID { get{ return _notifypartyid; } set{ _notifypartyid = value; } } private string _shipper = ""; /// /// 发货人内容 /// [ModelDB] public string SHIPPER { get{ return _shipper; } set{ _shipper = value; } } private string _consignee = ""; /// /// 收货人内容 /// [ModelDB] public string CONSIGNEE { get{ return _consignee; } set{ _consignee = value; } } private string _notifyparty = ""; /// /// 通知人内容 /// [ModelDB] public string NOTIFYPARTY { get{ return _notifyparty; } set{ _notifyparty = value; } } private string _agentid = ""; /// /// 国外代理 /// [ModelDB] public string AGENTID { get{ return _agentid; } set{ _agentid = value; } } private string _agent = ""; /// /// 国外代理内容 /// [ModelDB] public string AGENT { get{ return _agent; } set{ _agent = value; } } private string _blfrt = "PP"; /// /// 付费方式 /// [ModelDB] public string BLFRT { get { return _blfrt; } set { _blfrt = value; } } private string _otfrt = "PP"; /// /// 付费方式 /// [ModelDB] public string OTFRT { get { return _otfrt; } set { _otfrt = value; } } private string _hblblfrt = "PP"; /// /// 付费方式 /// [ModelDB] public string HBLBLFRT { get { return _hblblfrt; } set { _hblblfrt = value; } } private string _hblotfrt = "PP"; /// /// 付费方式 /// [ModelDB] public string HBLOTFRT { get { return _hblotfrt; } set { _hblotfrt = value; } } private string _marks = ""; /// /// 唛头 /// [ModelDB] public string MARKS { get{ return _marks; } set{ _marks = value; } } private string _description = ""; /// /// 货物描述 /// [ModelDB] public string DESCRIPTION { get{ return _description; } set{ _description = value; } } private string _pkgs =""; /// /// 件数 /// [ModelDB] public string PKGS { get{ return _pkgs; } set{ _pkgs = value; } } private string _kindpkgs = ""; /// /// 件数包装 /// [ModelDB] public string KINDPKGS { get{ return _kindpkgs; } set{ _kindpkgs = value; } } private string _unit= ""; /// /// 单位 /// [ModelDB] public string UNIT { get { return _unit; } set { _unit = value; } } private string _cbm =""; /// /// 立方数/尺码 /// [ModelDB] public string CBM { get{ return _cbm; } set{ _cbm = value; } } private string _goodsname = ""; /// /// 品名 /// [ModelDB] public string GOODSNAME { get { return _goodsname; } set { _goodsname = value; } } private string _kgs =""; /// /// 毛重 /// [ModelDB] public string KGS { get { return _kgs; } set { _kgs = value; } } private string _customser = ""; /// /// 报关行 /// [ModelDB] public string CUSTOMSER { get { return _customser; } set { _customser = value; } } private string _airlines = ""; /// /// 航空公司 /// [ModelDB] public string AIRLINES { get { return _airlines; } set { _airlines = value; } } private string _forwarder = ""; /// /// 订舱公司 /// [ModelDB] public string FORWARDER { get{ return _forwarder; } set{ _forwarder = value; } } private string _trucker = ""; /// /// 承运车队 /// [ModelDB] public string TRUCKER { get{ return _trucker; } set{ _trucker = value; } } private string _invno = ""; /// /// 发票号 /// [ModelDB] public string INVNO { get{ return _invno; } set{ _invno = value; } } private string _cargoid = ""; /// /// 货物标识 /// [ModelDB] public string CARGOID { get{ return _cargoid; } set{ _cargoid = value; } } private string _class = ""; /// /// 等级 /// [ModelDB] public string CLASS { get{ return _class; } set{ _class = value; } } private string _curr = ""; /// /// 币别 /// [ModelDB] public string CURR { get { return _curr; } set { _curr = value; } } private string _custvalue = ""; /// /// 申报价 /// [ModelDB] public string CUSTVALUE { get { return _custvalue; } set { _custvalue = value; } } private string _customvalue = ""; /// /// 海关申报价 /// [ModelDB] public string CUSTOMVALUE { get { return _customvalue; } set { _customvalue = value; } } private string _feekgs =""; /// /// [ModelDB] public string FEEKGS { get { return _feekgs; } set { _feekgs = value; } } private string _price =""; /// /// [ModelDB] public string PRICE { get { return _price; } set { _price = value; } } private string _ttlfreight =""; /// /// [ModelDB] public string TTLFREIGHT { get { return _ttlfreight; } set { _ttlfreight = value; } } private string _otfee = ""; /// /// 其他费用 /// [ModelDB] public string OTFEE { get { return _otfee; } set { _otfee = value; } } private string _handing = ""; /// /// [ModelDB] public string HANDINGINFO { get { return _handing; } set { _handing = value; } } private string _accountinfo = ""; /// /// [ModelDB] public string ACCOUNTINFO { get { return _accountinfo; } set { _accountinfo = value; } } private string _ordtype = ""; /// /// 订舱类型 /// [ModelDB] public string ORDTYPE { get{ return _ordtype; } set{ _ordtype = value; } } private string _orderno = ""; /// /// 订舱编号 /// [ModelDB] public string ORDERNO { get{ return _orderno; } set{ _orderno = value; } } private string _insuranceer = ""; /// /// 保险人 /// [ModelDB] public string INSURANCEER { get{ return _insuranceer; } set{ _insuranceer = value; } } private string _insuranceno = ""; /// /// 保险单号 /// [ModelDB] public string INSURANCENO { get{ return _insuranceno; } set{ _insuranceno = value; } } private string _inamout =""; /// /// 保险金额 /// [ModelDB] public string 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 = ""; /// /// 备注 /// [ModelDB] public string REMARK { get{ return _remark; } set{ _remark = value; } } private string _stlname = ""; /// /// 结算方式 /// [ModelDB] public string STLNAME { get{ return _stlname; } set{ _stlname = value; } } private string _stldate; /// /// 结算时间 /// [ModelDB] public string STLDATE { get{ return _stldate; } set{ _stldate = value; } } private string _operatorcode = ""; /// /// 客户操作代码 /// [ModelDB] public string OPERATORCODE { get{ return _operatorcode; } set{ _operatorcode = value; } } private string _operator = ""; /// /// 客户操作名称 /// [ModelDB] public string OPERATOR { get{ return _operator; } set{ _operator = value; } } private string _operatoremail = ""; /// /// 操作电子邮箱 /// [ModelDB] public string OPERATOREMAIL { get{ return _operatoremail; } set{ _operatoremail = value; } } private string _operatortel = ""; /// /// 操作电话 /// [ModelDB] public string OPERATORTEL { get{ return _operatortel; } set{ _operatortel = value; } } private string _operatorfax = ""; /// /// 操作传真 /// [ModelDB] public string OPERATORFAX { get{ return _operatorfax; } set{ _operatorfax = value; } } private string _financialstaffcode = ""; /// /// 客户财务代码 /// [ModelDB] public string FINANCIALSTAFFCODE { get{ return _financialstaffcode; } set{ _financialstaffcode = value; } } private string _financialstaff = ""; /// /// 客户财务名称 /// [ModelDB] public string FINANCIALSTAFF { get{ return _financialstaff; } set{ _financialstaff = value; } } private string _financialstaffemail = ""; /// /// 财务电子邮箱 /// [ModelDB] public string FINANCIALSTAFFEMAIL { get{ return _financialstaffemail; } set{ _financialstaffemail = value; } } private string _financialstafftel = ""; /// /// 财务电话 /// [ModelDB] public string FINANCIALSTAFFTEL { get{ return _financialstafftel; } set{ _financialstafftel = value; } } private string _financialstafffax = ""; /// /// 财务传真 /// [ModelDB] public string FINANCIALSTAFFFAX { get{ return _financialstafffax; } set{ _financialstafffax = value; } } private string _pfreight = ""; /// /// [ModelDB] public string PFREIGHT { get { return _pfreight; } set { _pfreight = value; } } private string _cfreight = ""; /// /// [ModelDB] public string CFREIGHT { get { return _cfreight; } set { _cfreight = value; } } private string _pstatement = ""; /// /// [ModelDB] public string PSTATEMENT { get { return _pstatement; } set { _pstatement = value; } } private string _cstatement = ""; /// /// [ModelDB] public string CSTATEMENT { get { return _cstatement; } set { _cstatement = value; } } private string _ptax = ""; /// /// [ModelDB] public string PTAX { get { return _ptax; } set { _ptax = value; } } private string _ctax = ""; /// /// [ModelDB] public string CTAX { get { return _ctax; } set { _ctax = value; } } private string _pOTFREIGHT = ""; /// /// [ModelDB] public string POTFREIGHT { get { return _pOTFREIGHT; } set { _pOTFREIGHT = value; } } private string _cOTFREIGHT = ""; /// /// [ModelDB] public string COTFREIGHT { get { return _cOTFREIGHT; } set { _cOTFREIGHT = value; } } private string _pCARRIEROT = ""; /// /// [ModelDB] public string PCARRIEROT { get { return _pCARRIEROT; } set { _pCARRIEROT = value; } } private string _cCARRIEROT = ""; /// /// [ModelDB] public string CCARRIEROT { get { return _cCARRIEROT; } set { _cCARRIEROT = value; } } private string _pTOTAL = ""; /// /// [ModelDB] public string PTOTAL { get { return _pTOTAL; } set { _pTOTAL = value; } } private string _cTOTAL = ""; /// /// [ModelDB] public string CTOTAL { get { return _cTOTAL; } set { _cTOTAL = value; } } private string _otfee1 = ""; /// /// [ModelDB] public string OTFEE1 { get { return _otfee1; } set { _otfee1 = value; } } private string _otfee1amount =""; /// /// [ModelDB] public string OTFEE1AMOUNT { get { return _otfee1amount; } set { _otfee1amount = value; } } private string _otfee2 = ""; /// /// [ModelDB] public string OTFEE2 { get { return _otfee2; } set { _otfee2 = value; } } private string _otfee2amount =""; /// /// [ModelDB] public string OTFEE2AMOUNT { get { return _otfee2amount; } set { _otfee2amount = value; } } private string _otfee3 = ""; /// /// [ModelDB] public string OTFEE3 { get { return _otfee3; } set { _otfee3 = value; } } private string _otfee3amount =""; /// /// [ModelDB] public string OTFEE3AMOUNT { get { return _otfee3amount; } set { _otfee3amount = value; } } private string _otfee4 = ""; /// /// [ModelDB] public string OTFEE4 { get { return _otfee4; } set { _otfee4 = value; } } private string _otfee4amount =""; /// /// [ModelDB] public string OTFEE4AMOUNT { get { return _otfee4amount; } set { _otfee4amount = value; } } private string _otfee5 = ""; /// /// [ModelDB] public string OTFEE5 { get { return _otfee5; } set { _otfee5 = value; } } private string _otfee5amount =""; /// /// [ModelDB] public string OTFEE5AMOUNT { get { return _otfee5amount; } set { _otfee5amount = value; } } private string _otfee6 = ""; /// /// [ModelDB] public string OTFEE6 { get { return _otfee6; } set { _otfee6 = value; } } private string _otfee6amount =""; /// /// [ModelDB] public string OTFEE6AMOUNT { get { return _otfee6amount; } set { _otfee6amount = value; } } private string _otfee7 = ""; /// /// [ModelDB] public string OTFEE7 { get { return _otfee7; } set { _otfee7 = value; } } private string _otfee7amount =""; /// /// [ModelDB] public string OTFEE7AMOUNT { get { return _otfee7amount; } set { _otfee7amount = value; } } private string _otfee8 = ""; /// /// [ModelDB] public string OTFEE8 { get { return _otfee8; } set { _otfee8 = value; } } private string _otfee8amount =""; /// /// [ModelDB] public string OTFEE8AMOUNT { get { return _otfee8amount; } set { _otfee8amount = value; } } private string _CUSTOMNO = "";//报关单号 private string _CUSTOMDATE = null;//报关日期 private string _INSPECTIONNO = "";//报检单号 private string _INSPECTIONDATE = null;//报检日期 private string _ENTERP = "";// private string _ENTERPID = "";// [ModelDB] public string CUSTOMNO { get { return _CUSTOMNO; } set { _CUSTOMNO = value; } } [ModelDB] public string CUSTOMDATE { get { return _CUSTOMDATE; } set { _CUSTOMDATE = value; } } [ModelDB] public string INSPECTIONNO { get { return _INSPECTIONNO; } set { _INSPECTIONNO = value; } } [ModelDB] public string INSPECTIONDATE { get { return _INSPECTIONDATE; } set { _INSPECTIONDATE = value; } } [ModelDB] public string ENTERP { get { return _ENTERP; } set { _ENTERP = value; } } [ModelDB] public string ENTERPID { get { return _ENTERPID; } set { _ENTERPID = value; } } private string _IsSERVICE1 = "0"; private string _IsSERVICE2 = "0"; private string _IsSERVICE3 = "0"; private string _IsSERVICE4 = "0"; private string _IsSERVICE5 = "0"; private string _IsSERVICE6 = "0"; private string _IsSERVICE7 = "0"; private string _IsSERVICE8 = "0"; private string _IsSERVICE9 = "0"; private string _IsSERVICE10 = "0"; private string _SERVICE1 = ""; private string _SERVICE2 = ""; private string _SERVICE3 = ""; private string _SERVICE4 = ""; private string _SERVICE5 = ""; private string _SERVICE6 = ""; private string _SERVICE7 = ""; private string _SERVICE8 = ""; private string _SERVICE9 = ""; private string _SERVICE10 = ""; [ModelDB] public string IsSERVICE1 { get { return _IsSERVICE1; } set { _IsSERVICE1 = value; } } [ModelDB] public string IsSERVICE2 { get { return _IsSERVICE2; } set { _IsSERVICE2 = value; } } [ModelDB] public string IsSERVICE3 { get { return _IsSERVICE3; } set { _IsSERVICE3 = value; } } [ModelDB] public string IsSERVICE4 { get { return _IsSERVICE4; } set { _IsSERVICE4 = value; } } [ModelDB] public string IsSERVICE5 { get { return _IsSERVICE5; } set { _IsSERVICE5 = value; } } [ModelDB] public string IsSERVICE6 { get { return _IsSERVICE6; } set { _IsSERVICE6 = value; } } [ModelDB] public string IsSERVICE7 { get { return _IsSERVICE7; } set { _IsSERVICE7 = value; } } [ModelDB] public string IsSERVICE8 { get { return _IsSERVICE8; } set { _IsSERVICE8 = value; } } [ModelDB] public string IsSERVICE9 { get { return _IsSERVICE9; } set { _IsSERVICE9 = value; } } [ModelDB] public string IsSERVICE10 { get { return _IsSERVICE10; } set { _IsSERVICE10 = value; } } public string SERVICE1 { get { return _SERVICE1; } set { _SERVICE1 = value; } } public string SERVICE2 { get { return _SERVICE2; } set { _SERVICE2 = value; } } public string SERVICE3 { get { return _SERVICE3; } set { _SERVICE3 = value; } } public string SERVICE4 { get { return _SERVICE4; } set { _SERVICE4 = value; } } public string SERVICE5 { get { return _SERVICE5; } set { _SERVICE5 = value; } } public string SERVICE6 { get { return _SERVICE6; } set { _SERVICE6 = value; } } public string SERVICE7 { get { return _SERVICE7; } set { _SERVICE7 = value; } } public string SERVICE8 { get { return _SERVICE8; } set { _SERVICE8 = value; } } public string SERVICE9 { get { return _SERVICE9; } set { _SERVICE9 = value; } } public string SERVICE10 { get { return _SERVICE10; } set { _SERVICE10 = value; } } private string _tradetype = ""; /// /// 贸易方式 /// [ModelDB] public string TRADETYPE { get { return _tradetype; } set { _tradetype = value; } } private string _tradeterm = ""; /// /// 贸易条款 /// [ModelDB] public string TRADETERM { get { return _tradeterm; } set { _tradeterm = value; } } private string _ISSUEBY = ""; /// /// 贸易条款 /// [ModelDB] public string ISSUEBY { get { return _ISSUEBY; } set { _ISSUEBY = value; } } private string _ISSUEDATE = ""; /// /// 贸易条款 /// [ModelDB] public string ISSUEDATE { get { return _ISSUEDATE; } set { _ISSUEDATE = value; } } private string _ISSUEPLACE = ""; /// /// 贸易条款 /// [ModelDB] public string ISSUEPLACE { get { return _ISSUEPLACE; } set { _ISSUEPLACE = value; } } private string _DRFEESTATUS = ""; private string _CRFEESTATUS = ""; public string DRFEESTATUS { get { return _DRFEESTATUS; } set { _DRFEESTATUS = value; } } public string CRFEESTATUS { get { return _CRFEESTATUS; } set { _CRFEESTATUS = value; } } private string _ISPRINTPR = ""; public string ISPRINTPR { get { return _ISPRINTPR; } set { _ISPRINTPR = value; } } private string _DRINVSTATUS = ""; public string DRINVSTATUS { get { return _DRINVSTATUS; } set { _DRINVSTATUS = value; } } private string _ISAPPLY = "0"; /// /// 是否生成报关 /// public string ISAPPLY { get { return _ISAPPLY; } set { _ISAPPLY = value; } } private string _BLISSUESTATUS = ""; public string BLISSUESTATUS { get { return _BLISSUESTATUS; } set { _BLISSUESTATUS = value; } } #endregion public MsOpAire() { TableName = "op_aire"; } override public string GetBillNoFieldName() { return "BSNO"; } } // }