using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsOpAiri { [JsonObject] public class MsOpAiri : 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 _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 _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 int _pkgs = 0; /// /// 件数 /// [ModelDB] public int 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 decimal _cbm = 0; /// /// 立方数/尺码 /// [ModelDB] public decimal CBM { get{ return _cbm; } set{ _cbm = value; } } private string _goodsname = ""; /// /// 品名 /// [ModelDB] public string GOODSNAME { get { return _goodsname; } set { _goodsname = value; } } private decimal _kgs = 0; /// /// 毛重 /// [ModelDB] public decimal 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 _CONTRACTNO = ""; /// /// 运费协议号 /// [ModelDB] public string CONTRACTNO { get { return _CONTRACTNO; } set { _CONTRACTNO = value; } } private string _cargoid = ""; /// /// 货物标识 /// [ModelDB] public string CARGOID { get{ return _cargoid; } set{ _cargoid = value; } } private decimal _feekgs = 0; /// /// [ModelDB] public decimal FEEKGS { get { return _feekgs; } set { _feekgs = 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 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 _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 _CHANGEDOCDATE = null;//报检日期 [ModelDB] public string CHANGEDOCDATE { get { return _CHANGEDOCDATE; } set { _CHANGEDOCDATE = value; } } private string _SERVICE = "";//报检日期 [ModelDB] public string SERVICE { get { return _SERVICE; } set { _SERVICE = value; } } private string _CUSTOMVALUE = "";//货值 [ModelDB] public string CUSTOMVALUE { get { return _CUSTOMVALUE; } set { _CUSTOMVALUE = value; } } private string _CLASS = "";//登记 [ModelDB] public string CLASS { get { return _CLASS; } set { _CLASS = 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 _FENPIAO = ""; /// /// 分票 /// public string FENPIAO { get { return _FENPIAO; } set { _FENPIAO = 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 _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; } } public string DRDUISTATUS { set; get; } public string CRINVSTATUS { set; get; } public string CRDUISTATUS { set; get; } 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; } } private string _DOC = ""; [ModelDB] public string DOC { get { return _DOC; } set { _DOC = value; } } private string _LANE = ""; /// /// 航线 /// [ModelDB] public string LANE { get { return _LANE; } set { _LANE = value; } } private string _currency = ""; /// /// 币别 /// [ModelDB] public string CURRENCY { get { return _currency; } set { _currency = value; } } private string _cargovalue = ""; /// /// 货值 /// [ModelDB] public string CARGOVALUE { get { return _cargovalue; } set { _cargovalue = value; } } private string _DELIVERYDATE = ""; /// /// /// [ModelDB] public string DELIVERYDATE { get { return _DELIVERYDATE; } set { _DELIVERYDATE = value; } } private string _HSCODE = ""; [ModelDB] public string HSCODE { get { return _HSCODE; } set { _HSCODE = value; } } private string _ISBONDED = ""; [ModelDB] public string ISBONDED { get { return _ISBONDED; } set { _ISBONDED = value; } } public string COLOR { get; set; } #endregion public MsOpAiri() { TableName = "op_airi"; } override public string GetBillNoFieldName() { return "BSNO"; } } [JsonObject] public class MsOpAiriSum : ModelObjectBillHead { #region 读写属性 private int _nobill = 0; /// /// 提单份数 /// public int NOBILL { get { return _nobill; } set { _nobill = value; } } private int _pkgs = 0; /// /// 件数 /// public int PKGS { get { return _pkgs; } set { _pkgs = value; } } private decimal _kgs = 0; /// /// 毛重 /// public decimal KGS { get { return _kgs; } set { _kgs = value; } } private decimal _cbm = 0; /// /// 立方数/尺码 /// public decimal CBM { get { return _cbm; } set { _cbm = value; } } private decimal _FEEKGS = 0; /// /// 立方数/尺码 /// public decimal FEEKGS { get { return _FEEKGS; } set { _FEEKGS = value; } } private string _CHANGEDOCDATE; /// /// 换单日期 /// [ModelDB] public string CHANGEDOCDATE { get { return _CHANGEDOCDATE; } set { _CHANGEDOCDATE = value; } } private string _service = ""; /// /// 运输条款 /// [ModelDB] public string SERVICE { get { return _service; } set { _service = value; } } private string _customvalue = ""; /// /// 海关申报价 /// [ModelDB] public string CUSTOMVALUE { get { return _customvalue; } set { _customvalue = value; } } private string _class = ""; /// /// 等级 /// [ModelDB] public string CLASS { get { return _class; } set { _class = value; } } #endregion } // }