using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsOpAireBill { [JsonObject] public class MsOpAireBill : ModelObjectBillHead { #region 读写属性 private string _as_id =Guid.NewGuid().ToString(); /// /// 编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string AS_ID { get { return _as_id; } set { _as_id = value; } } private string _bsno ="" ; /// /// 业务编号 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string BSNO { get{ return _bsno; } set{ _bsno = 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 string _template = ""; /// /// 模板类型 /// [ModelDB] public string TEMPLATE { get { return _template; } set { _template = value; } } private string _billtype = ""; /// /// 提单类型 /// [ModelDB] public string BILLTYPE { get { return _billtype; } set { _billtype = value; } } private string _inputby = ""; /// /// 录入人 /// [ModelDB] public string INPUTBY { get{ return _inputby; } set{ _inputby = 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 _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 _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 _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 _airlines = ""; /// /// [ModelDB] public string AIRLINES { get { return _airlines; } set { _airlines = value; } } private string _iatano = ""; /// /// [ModelDB] public string IATANO { get { return _iatano; } set { _iatano = value; } } private string _accountcode = ""; /// /// [ModelDB] public string ACCOUNTCODE { get { return _accountcode; } set { _accountcode = value; } } private string _accountinfo = ""; /// /// [ModelDB] public string ACCOUNTINFO { get { return _accountinfo; } set { _accountinfo = value; } } private string _handinginfo = ""; /// /// [ModelDB] public string HANDINGINFO { get { return _handinginfo; } set { _handinginfo = value; } } private string _curr = ""; /// /// 币别 /// [ModelDB] public string CURR { get { return _curr; } set { _curr = value; } } private string _transtatement = ""; /// /// [ModelDB] public string TRANSTATEMENT { get { return _transtatement; } set { _transtatement = value; } } private string _customstatement = ""; /// /// [ModelDB] public string CUSTOMSTATEMENT { get { return _customstatement; } set { _customstatement = value; } } private string _insuranceer = ""; /// /// [ModelDB] public string INAMOUNT { get { return _insuranceer; } set { _insuranceer = value; } } private string _class = ""; /// /// 等级 /// [ModelDB] public string CLASS { get { return _class; } set { _class = value; } } private string _feekgs ="0"; /// /// [ModelDB] public string FEEKGS { get { return _feekgs; } set { _feekgs = value; } } private string _price ="0"; /// /// [ModelDB] public string PRICE { get { return _price; } set { _price = value; } } private string _ttlfreight ="0"; /// /// [ModelDB] public string TTLFREIGHT { get { return _ttlfreight; } set { _ttlfreight = value; } } private string _totalamount ="0"; /// /// [ModelDB] public string TOTALAMOUNT { get { return _totalamount; } set { _totalamount = value; } } private string _otfee = ""; /// /// 其他费用 /// [ModelDB] public string OTFEE { get { return _otfee; } set { _otfee = 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 = "0"; /// /// 件数 /// [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 = "0"; /// /// 立方数/尺码 /// [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 = "0"; /// /// 毛重 /// [ModelDB] public string KGS { get { return _kgs; } set { _kgs = 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 ="0"; /// /// [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 = "0"; /// /// [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 ="0"; /// /// [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 ="0"; /// /// [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 ="0"; /// /// [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 ="0"; /// /// [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 ="0"; /// /// [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 = "0"; /// /// [ModelDB] public string OTFEE8AMOUNT { get { return _otfee8amount; } set { _otfee8amount = value; } } private string _REMARK = ""; /// /// [ModelDB] public string REMARK { get { return _REMARK; } set { _REMARK = 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 _MODIFYTIME = ""; [ModelDB] public string MODIFYTIME { get { return _MODIFYTIME; } set { _MODIFYTIME = value; } } private string _MODIFYUSER = ""; [ModelDB] public string MODIFYUSER { get { return _MODIFYUSER; } set { _MODIFYUSER = value; } } private string _INPUTTIME = ""; [ModelDB(MDBType = ModelDBOprationType.Insert)] public string INPUTTIME { get { return _INPUTTIME; } set { _INPUTTIME = value; } } #endregion public MsOpAireBill() { TableName = "op_aire_bill"; } override public string GetBillNoFieldName() { return "AS_ID"; } } // }