You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2446 lines
59 KiB
C#

11 months ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsOpAirn
{
[JsonObject]
public class MsOpAirn : ModelObjectBillHead
{
#region 读写属性
private string _bsno = Guid.NewGuid().ToString();
/// <summary>
/// 业务编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string BSNO
{
get{ return _bsno; }
set{ _bsno = value; }
}
private string _ordertype = "操作录入";
/// <summary>
/// 委托方式
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string ORDERTYPE
{
get{ return _ordertype; }
set{ _ordertype = value; }
}
private string _masterno = "";
/// <summary>
/// 主编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string MASTERNO
{
get{ return _masterno; }
set{ _masterno = value; }
}
private string _custno = "";
/// <summary>
/// 委托编号
/// </summary>
[ModelDB]
public string CUSTNO
{
get{ return _custno; }
set{ _custno = value; }
}
private string _mblno = "";
/// <summary>
/// 主提单号
/// </summary>
[ModelDB]
public string MBLNO
{
get{ return _mblno; }
set{ _mblno = value; }
}
private string _hblno = "";
/// <summary>
/// 分提单号
/// </summary>
[ModelDB]
public string HBLNO
{
get{ return _hblno; }
set{ _hblno = value; }
}
private bool _bsstatus = false;
/// <summary>
/// 业务状态
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public bool BSSTATUS
{
get{ return _bsstatus; }
set{ _bsstatus = value; }
}
private string _BSSTATUSREF="未锁定";
/// <summary>
/// 业务锁定_中文
/// </summary>
public string BSSTATUSREF
{
get { return _BSSTATUSREF; }
set { _BSSTATUSREF = value; }
}
private string _OPSTATUS = "接受委托";
/// <summary>
/// 业务状态_中文
/// </summary>
public string OPSTATUS
{
get { return _OPSTATUS; }
set { _OPSTATUS = value; }
}
private bool _feestatus = false;
/// <summary>
/// 费用状态
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public bool FEESTATUS
{
get{ return _feestatus; }
set{ _feestatus = value; }
}
private string _FEESTATUSREF = "未锁定";
/// <summary>
/// 费用状态_中文
/// </summary>
public string FEESTATUSREF
{
get { return _FEESTATUSREF; }
set { _FEESTATUSREF = value; }
}
private DateTime _bsdate = DateTime.Now;
/// <summary>
/// 接单日期
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public DateTime BSDATE
{
get{ return _bsdate; }
set{ _bsdate = value; }
}
private string _accdate = DateTime.Now.ToString("yyyy-MM");
/// <summary>
/// 会计期间
/// </summary>
[ModelDB]
public string ACCDATE
{
get{ return _accdate; }
set{ _accdate = value; }
}
private string _customername = "";
/// <summary>
/// 委托单位
/// </summary>
[ModelDB]
public string CUSTOMERNAME
{
get{ return _customername; }
set{ _customername = value; }
}
private string _bssource = "";
/// <summary>
/// 业务来源
/// </summary>
[ModelDB]
public string BSSOURCE
{
get{ return _bssource; }
set{ _bssource = value; }
}
private string _bssourcedetail = "";
/// <summary>
/// 来源明细
/// </summary>
[ModelDB]
public string BSSOURCEDETAIL
{
get{ return _bssourcedetail; }
set{ _bssourcedetail = value; }
}
private string _inputby = "";
/// <summary>
/// 录入人
/// </summary>
[ModelDB]
public string INPUTBY
{
get{ return _inputby; }
set{ _inputby = value; }
}
private string _op = "";
/// <summary>
/// 操作员
/// </summary>
[ModelDB]
public string OP
{
get{ return _op; }
set{ _op = value; }
}
private string _custservice = "";
/// <summary>
/// 客服员
/// </summary>
[ModelDB]
public string CUSTSERVICE
{
get{ return _custservice; }
set{ _custservice = value; }
}
private string _sale = "";
/// <summary>
/// 揽货人
/// </summary>
[ModelDB]
public string SALE
{
get{ return _sale; }
set{ _sale = value; }
}
private string _corpid = "";
/// <summary>
/// 分公司代码
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CORPID
{
get{ return _corpid; }
set{ _corpid = value; }
}
private string _saledept = "";
/// <summary>
/// 所属部门
/// </summary>
[ModelDB]
public string SALEDEPT
{
get{ return _saledept; }
set{ _saledept = value; }
}
private string _createtime = DateTime.Now.ToString("yyyy-MM-dd");
/// <summary>
/// 创建时间
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CREATETIME
{
get{ return _createtime; }
set{ _createtime = value; }
}
private string _transno = "";
/// <summary>
/// 运单号
/// </summary>
[ModelDB]
public string TRANSNO
{
get { return _transno; }
set { _transno = value; }
}
private string _vessel = "";
/// <summary>
/// 航班号简称
/// </summary>
[ModelDB]
public string VESSEL
{
get{ return _vessel; }
set{ _vessel = value; }
}
private string _VESSELHEAD = string.Empty;
/// <summary>
/// 航班号前缀
/// </summary>
[ModelDB]
public string VESSELHEAD
{
get { return _VESSELHEAD; }
set { _VESSELHEAD = value; }
}
private string _vesselref = "";
/// <summary>
/// 航班号
/// </summary>
public string VESSEL_REF
{
get { return _vesselref; }
set { _vesselref = value; }
}
private string _etd;
/// <summary>
/// 开船日期
/// </summary>
[ModelDB]
public string ETD
{
get { return _etd; }
set { _etd = value; }
}
private string _eta;
/// <summary>
/// 预抵日期
/// </summary>
[ModelDB]
public string ETA
{
get { return _eta; }
set { _eta = value; }
}
private string _portloadid = "";
/// <summary>
/// 装货港代码
/// </summary>
[ModelDB]
public string PORTLOADID
{
get{ return _portloadid; }
set{ _portloadid = value; }
}
private string _portload = "";
/// <summary>
/// 装货港
/// </summary>
[ModelDB]
public string PORTLOAD
{
get{ return _portload; }
set{ _portload = value; }
}
private string _portdischargeid = "";
/// <summary>
/// 卸货港代码
/// </summary>
[ModelDB]
public string PORTDISCHARGEID
{
get{ return _portdischargeid; }
set{ _portdischargeid = value; }
}
private string _portdischarge = "";
/// <summary>
/// 卸货港
/// </summary>
[ModelDB]
public string PORTDISCHARGE
{
get{ return _portdischarge; }
set{ _portdischarge = value; }
}
private string _bltype = "空运单票";
/// <summary>
/// 装运方式
/// </summary>
[ModelDB]
public string BLTYPE
{
get { return _bltype; }
set { _bltype = value; }
}
private string _shipperid = "";
/// <summary>
/// 发货人
/// </summary>
[ModelDB]
public string SHIPPERID
{
get{ return _shipperid; }
set{ _shipperid = value; }
}
private string _consigneeid = "";
/// <summary>
/// 收货人
/// </summary>
[ModelDB]
public string CONSIGNEEID
{
get{ return _consigneeid; }
set{ _consigneeid = value; }
}
private string _notifypartyid = "";
/// <summary>
/// 通知人
/// </summary>
[ModelDB]
public string NOTIFYPARTYID
{
get{ return _notifypartyid; }
set{ _notifypartyid = value; }
}
private string _shipper = "";
/// <summary>
/// 发货人内容
/// </summary>
[ModelDB]
public string SHIPPER
{
get{ return _shipper; }
set{ _shipper = value; }
}
private string _consignee = "";
/// <summary>
/// 收货人内容
/// </summary>
[ModelDB]
public string CONSIGNEE
{
get{ return _consignee; }
set{ _consignee = value; }
}
private string _notifyparty = "";
/// <summary>
/// 通知人内容
/// </summary>
[ModelDB]
public string NOTIFYPARTY
{
get{ return _notifyparty; }
set{ _notifyparty = value; }
}
private string _agentid = "";
/// <summary>
/// 国外代理
/// </summary>
[ModelDB]
public string AGENTID
{
get{ return _agentid; }
set{ _agentid = value; }
}
private string _agent = "";
/// <summary>
/// 国外代理内容
/// </summary>
[ModelDB]
public string AGENT
{
get{ return _agent; }
set{ _agent = value; }
}
private string _blfrt = "PP";
/// <summary>
/// 付费方式
/// </summary>
[ModelDB]
public string BLFRT
{
get { return _blfrt; }
set { _blfrt = value; }
}
private string _otfrt = "PP";
/// <summary>
/// 付费方式
/// </summary>
[ModelDB]
public string OTFRT
{
get { return _otfrt; }
set { _otfrt = value; }
}
private string _hblblfrt = "PP";
/// <summary>
/// 付费方式
/// </summary>
[ModelDB]
public string HBLBLFRT
{
get { return _hblblfrt; }
set { _hblblfrt = value; }
}
private string _hblotfrt = "PP";
/// <summary>
/// 付费方式
/// </summary>
[ModelDB]
public string HBLOTFRT
{
get { return _hblotfrt; }
set { _hblotfrt = value; }
}
private string _marks = "";
/// <summary>
/// 唛头
/// </summary>
[ModelDB]
public string MARKS
{
get{ return _marks; }
set{ _marks = value; }
}
private string _description = "";
/// <summary>
/// 货物描述
/// </summary>
[ModelDB]
public string DESCRIPTION
{
get{ return _description; }
set{ _description = value; }
}
private int _pkgs = 0;
/// <summary>
/// 件数
/// </summary>
[ModelDB]
public int PKGS
{
get{ return _pkgs; }
set{ _pkgs = value; }
}
private string _kindpkgs = "";
/// <summary>
/// 件数包装
/// </summary>
[ModelDB]
public string KINDPKGS
{
get{ return _kindpkgs; }
set{ _kindpkgs = value; }
}
private string _unit= "";
/// <summary>
/// 单位
/// </summary>
[ModelDB]
public string UNIT
{
get { return _unit; }
set { _unit = value; }
}
private decimal _cbm = 0;
/// <summary>
/// 立方数/尺码
/// </summary>
[ModelDB]
public decimal CBM
{
get{ return _cbm; }
set{ _cbm = value; }
}
private decimal _M_WEIGHT = 0;
/// <summary>
/// 实际重量 计算值 商品信息
/// </summary>
public decimal M_WEIGHT
{
get { return _M_WEIGHT; }
set { _M_WEIGHT = value; }
}
private string _goodsname = "";
/// <summary>
/// 品名
/// </summary>
[ModelDB]
public string GOODSNAME
{
get { return _goodsname; }
set { _goodsname = value; }
}
private decimal _kgs = 0;
/// <summary>
/// 毛重
/// </summary>
[ModelDB]
public decimal KGS
{
get { return _kgs; }
set { _kgs = value; }
}
private string _customser = "";
/// <summary>
/// 报关行
/// </summary>
[ModelDB]
public string CUSTOMSER
{
get { return _customser; }
set { _customser = value; }
}
private string _airlines = "";
/// <summary>
/// 航空公司
/// </summary>
[ModelDB]
public string AIRLINES
{
get { return _airlines; }
set { _airlines = value; }
}
private string _forwarder = "";
/// <summary>
/// 订舱公司
/// </summary>
[ModelDB]
public string FORWARDER
{
get{ return _forwarder; }
set{ _forwarder = value; }
}
private string _trucker = "";
/// <summary>
/// 承运车队
/// </summary>
[ModelDB]
public string TRUCKER
{
get{ return _trucker; }
set{ _trucker = value; }
}
private string _invno = "";
/// <summary>
/// 发票号
/// </summary>
[ModelDB]
public string INVNO
{
get{ return _invno; }
set{ _invno = value; }
}
private string _cargoid = "";
/// <summary>
/// 货物标识
/// </summary>
[ModelDB]
public string CARGOID
{
get{ return _cargoid; }
set{ _cargoid = value; }
}
private string _class = "";
/// <summary>
/// 等级
/// </summary>
[ModelDB]
public string CLASS
{
get{ return _class; }
set{ _class = value; }
}
private string _curr = "";
/// <summary>
/// 币别
/// </summary>
[ModelDB]
public string CURR
{
get { return _curr; }
set { _curr = value; }
}
private string _custvalue = "";
/// <summary>
/// 申报价
/// </summary>
[ModelDB]
public string CUSTVALUE
{
get { return _custvalue; }
set { _custvalue = value; }
}
private string _customvalue = "";
/// <summary>
/// 海关申报价
/// </summary>
[ModelDB]
public string CUSTOMVALUE
{
get { return _customvalue; }
set { _customvalue = value; }
}
private decimal _feekgs = 0;
/// <summary>
/// </summary>
[ModelDB]
public decimal FEEKGS
{
get { return _feekgs; }
set { _feekgs = value; }
}
private decimal _price = 0;
/// <summary>
/// </summary>
[ModelDB]
public decimal PRICE
{
get { return _price; }
set { _price = value; }
}
private decimal _ttlfreight = 0;
/// <summary>
/// </summary>
[ModelDB]
public decimal TTLFREIGHT
{
get { return _ttlfreight; }
set { _ttlfreight = value; }
}
private string _otfee = "";
/// <summary>
/// 其他费用
/// </summary>
[ModelDB]
public string OTFEE
{
get { return _otfee; }
set { _otfee = value; }
}
private string _handing = "";
/// <summary>
/// </summary>
[ModelDB]
public string HANDINGINFO
{
get { return _handing; }
set { _handing = value; }
}
private string _accountinfo = "";
/// <summary>
/// </summary>
[ModelDB]
public string ACCOUNTINFO
{
get { return _accountinfo; }
set { _accountinfo = value; }
}
private string _ordtype = "";
/// <summary>
/// 订舱类型
/// </summary>
[ModelDB]
public string ORDTYPE
{
get{ return _ordtype; }
set{ _ordtype = value; }
}
private string _orderno = "";
/// <summary>
/// 订舱编号
/// </summary>
[ModelDB]
public string ORDERNO
{
get{ return _orderno; }
set{ _orderno = value; }
}
private string _insuranceer = "";
/// <summary>
/// 保险人
/// </summary>
[ModelDB]
public string INSURANCEER
{
get{ return _insuranceer; }
set{ _insuranceer = value; }
}
private string _insuranceno = "";
/// <summary>
/// 保险单号
/// </summary>
[ModelDB]
public string INSURANCENO
{
get{ return _insuranceno; }
set{ _insuranceno = value; }
}
private string _inamout ="";
/// <summary>
/// 保险金额
/// </summary>
[ModelDB]
public string INAMOUT
{
get{ return _inamout; }
set{ _inamout = value; }
}
private bool _isvou = false;
/// <summary>
/// 是否生成凭证
/// </summary>
public bool ISVOU
{
get{ return _isvou; }
set{ _isvou = value; }
}
private string _vouno = "";
/// <summary>
/// 凭证号
/// </summary>
public string VOUNO
{
get{ return _vouno; }
set{ _vouno = value; }
}
private string _remark = "";
/// <summary>
/// 备注
/// </summary>
[ModelDB]
public string REMARK
{
get{ return _remark; }
set{ _remark = value; }
}
private string _stlname = "";
/// <summary>
/// 结算方式
/// </summary>
[ModelDB]
public string STLNAME
{
get{ return _stlname; }
set{ _stlname = value; }
}
private string _stldate;
/// <summary>
/// 结算时间
/// </summary>
[ModelDB]
public string STLDATE
{
get{ return _stldate; }
set{ _stldate = value; }
}
private string _operatorcode = "";
/// <summary>
/// 客户操作代码
/// </summary>
[ModelDB]
public string OPERATORCODE
{
get{ return _operatorcode; }
set{ _operatorcode = value; }
}
private string _operator = "";
/// <summary>
/// 客户操作名称
/// </summary>
[ModelDB]
public string OPERATOR
{
get{ return _operator; }
set{ _operator = value; }
}
private string _operatoremail = "";
/// <summary>
/// 操作电子邮箱
/// </summary>
[ModelDB]
public string OPERATOREMAIL
{
get{ return _operatoremail; }
set{ _operatoremail = value; }
}
private string _operatortel = "";
/// <summary>
/// 操作电话
/// </summary>
[ModelDB]
public string OPERATORTEL
{
get{ return _operatortel; }
set{ _operatortel = value; }
}
private string _operatorfax = "";
/// <summary>
/// 操作传真
/// </summary>
[ModelDB]
public string OPERATORFAX
{
get{ return _operatorfax; }
set{ _operatorfax = value; }
}
private string _financialstaffcode = "";
/// <summary>
/// 客户财务代码
/// </summary>
[ModelDB]
public string FINANCIALSTAFFCODE
{
get{ return _financialstaffcode; }
set{ _financialstaffcode = value; }
}
private string _financialstaff = "";
/// <summary>
/// 客户财务名称
/// </summary>
[ModelDB]
public string FINANCIALSTAFF
{
get{ return _financialstaff; }
set{ _financialstaff = value; }
}
private string _financialstaffemail = "";
/// <summary>
/// 财务电子邮箱
/// </summary>
[ModelDB]
public string FINANCIALSTAFFEMAIL
{
get{ return _financialstaffemail; }
set{ _financialstaffemail = value; }
}
private string _financialstafftel = "";
/// <summary>
/// 财务电话
/// </summary>
[ModelDB]
public string FINANCIALSTAFFTEL
{
get{ return _financialstafftel; }
set{ _financialstafftel = value; }
}
private string _financialstafffax = "";
/// <summary>
/// 财务传真
/// </summary>
[ModelDB]
public string FINANCIALSTAFFFAX
{
get{ return _financialstafffax; }
set{ _financialstafffax = value; }
}
private string _pfreight = "";
/// <summary>
/// </summary>
[ModelDB]
public string PFREIGHT
{
get { return _pfreight; }
set { _pfreight = value; }
}
private string _cfreight = "";
/// <summary>
/// </summary>
[ModelDB]
public string CFREIGHT
{
get { return _cfreight; }
set { _cfreight = value; }
}
private string _pstatement = "";
/// <summary>
/// </summary>
[ModelDB]
public string PSTATEMENT
{
get { return _pstatement; }
set { _pstatement = value; }
}
private string _cstatement = "";
/// <summary>
/// </summary>
[ModelDB]
public string CSTATEMENT
{
get { return _cstatement; }
set { _cstatement = value; }
}
private string _ptax = "";
/// <summary>
/// </summary>
[ModelDB]
public string PTAX
{
get { return _ptax; }
set { _ptax = value; }
}
private string _ctax = "";
/// <summary>
/// </summary>
[ModelDB]
public string CTAX
{
get { return _ctax; }
set { _ctax = value; }
}
private string _pOTFREIGHT = "";
/// <summary>
/// </summary>
[ModelDB]
public string POTFREIGHT
{
get { return _pOTFREIGHT; }
set { _pOTFREIGHT = value; }
}
private string _cOTFREIGHT = "";
/// <summary>
/// </summary>
[ModelDB]
public string COTFREIGHT
{
get { return _cOTFREIGHT; }
set { _cOTFREIGHT = value; }
}
private string _pCARRIEROT = "";
/// <summary>
/// </summary>
[ModelDB]
public string PCARRIEROT
{
get { return _pCARRIEROT; }
set { _pCARRIEROT = value; }
}
private string _cCARRIEROT = "";
/// <summary>
/// </summary>
[ModelDB]
public string CCARRIEROT
{
get { return _cCARRIEROT; }
set { _cCARRIEROT = value; }
}
private string _pTOTAL = "";
/// <summary>
/// </summary>
[ModelDB]
public string PTOTAL
{
get { return _pTOTAL; }
set { _pTOTAL = value; }
}
private string _cTOTAL = "";
/// <summary>
/// </summary>
[ModelDB]
public string CTOTAL
{
get { return _cTOTAL; }
set { _cTOTAL = value; }
}
private string _otfee1 = "";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE1
{
get { return _otfee1; }
set { _otfee1 = value; }
}
private decimal _otfee1amount = 0;
/// <summary>
/// </summary>
[ModelDB]
public decimal OTFEE1AMOUNT
{
get { return _otfee1amount; }
set { _otfee1amount = value; }
}
private string _otfee2 = "";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE2
{
get { return _otfee2; }
set { _otfee2 = value; }
}
private decimal _otfee2amount = 0;
/// <summary>
/// </summary>
[ModelDB]
public decimal OTFEE2AMOUNT
{
get { return _otfee2amount; }
set { _otfee2amount = value; }
}
private string _otfee3 = "";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE3
{
get { return _otfee3; }
set { _otfee3 = value; }
}
private decimal _otfee3amount = 0;
/// <summary>
/// </summary>
[ModelDB]
public decimal OTFEE3AMOUNT
{
get { return _otfee3amount; }
set { _otfee3amount = value; }
}
private string _otfee4 = "";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE4
{
get { return _otfee4; }
set { _otfee4 = value; }
}
private decimal _otfee4amount = 0;
/// <summary>
/// </summary>
[ModelDB]
public decimal OTFEE4AMOUNT
{
get { return _otfee4amount; }
set { _otfee4amount = value; }
}
private string _otfee5 = "";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE5
{
get { return _otfee5; }
set { _otfee5 = value; }
}
private decimal _otfee5amount = 0;
/// <summary>
/// </summary>
[ModelDB]
public decimal OTFEE5AMOUNT
{
get { return _otfee5amount; }
set { _otfee5amount = value; }
}
private string _otfee6 = "";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE6
{
get { return _otfee6; }
set { _otfee6 = value; }
}
private decimal _otfee6amount = 0;
/// <summary>
/// </summary>
[ModelDB]
public decimal OTFEE6AMOUNT
{
get { return _otfee6amount; }
set { _otfee6amount = value; }
}
private string _otfee7 = "";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE7
{
get { return _otfee7; }
set { _otfee7 = value; }
}
private decimal _otfee7amount = 0;
/// <summary>
/// </summary>
[ModelDB]
public decimal OTFEE7AMOUNT
{
get { return _otfee7amount; }
set { _otfee7amount = value; }
}
private string _otfee8 = "";
/// <summary>
/// </summary>
[ModelDB]
public string OTFEE8
{
get { return _otfee8; }
set { _otfee8 = value; }
}
private decimal _otfee8amount = 0;
/// <summary>
/// </summary>
[ModelDB]
public decimal 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 = "";
/// <summary>
/// 贸易方式
/// </summary>
[ModelDB]
public string TRADETYPE
{
get { return _tradetype; }
set { _tradetype = value; }
}
private string _tradeterm = "";
/// <summary>
/// 贸易条款
/// </summary>
[ModelDB]
public string TRADETERM
{
get { return _tradeterm; }
set { _tradeterm = value; }
}
private string _ISSUEBY = "";
/// <summary>
/// 贸易条款
/// </summary>
[ModelDB]
public string ISSUEBY
{
get { return _ISSUEBY; }
set { _ISSUEBY = value; }
}
private string _ISSUEDATE = "";
/// <summary>
/// 贸易条款
/// </summary>
[ModelDB]
public string ISSUEDATE
{
get { return _ISSUEDATE; }
set { _ISSUEDATE = value; }
}
private string _ISSUEPLACE = "";
/// <summary>
/// 贸易条款
/// </summary>
[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 _CY1 = string.Empty;
private string _CY2 = string.Empty;
private string _CY3 = string.Empty;
private string _PORT1 = string.Empty;
private string _PORT2 = string.Empty;
private string _PORT3 = string.Empty;
private string _SUPERVISE = string.Empty;
private string _TRANSFER = string.Empty;
private string _TRANSFER_REMARK = string.Empty;
private string _PVALUEFEE = string.Empty;
private string _CVALUEFEE = string.Empty;
[ModelDB]
public string CY1
{
get { return _CY1; }
set { _CY1 = value; }
}
[ModelDB]
public string CY2
{
get { return _CY2; }
set { _CY2 = value; }
}
[ModelDB]
public string CY3
{
get { return _CY3; }
set { _CY3 = value; }
}
[ModelDB]
public string PORT1
{
get { return _PORT1; }
set { _PORT1 = value; }
}
[ModelDB]
public string PORT2
{
get { return _PORT2; }
set { _PORT2 = value; }
}
[ModelDB]
public string PORT3
{
get { return _PORT3; }
set { _PORT3 = value; }
}
[ModelDB]
public string SUPERVISE
{
get { return _SUPERVISE; }
set { _SUPERVISE = value; }
}
[ModelDB]
public string TRANSFER
{
get { return _TRANSFER; }
set { _TRANSFER = value; }
}
[ModelDB]
public string TRANSFER_REMARK
{
get { return _TRANSFER_REMARK; }
set { _TRANSFER_REMARK = value; }
}
[ModelDB]
public string PVALUEFEE
{
get { return _PVALUEFEE; }
set { _PVALUEFEE = value; }
}
[ModelDB]
public string CVALUEFEE
{
get { return _CVALUEFEE; }
set { _CVALUEFEE = value; }
}
private string _STREMARK = string.Empty;
private string _TRANSREMARK = string.Empty;
[ModelDB]
public string STREMARK
{
get { return _STREMARK; }
set { _STREMARK = value; }
}
[ModelDB]
public string TRANSREMARK
{
get { return _TRANSREMARK; }
set { _TRANSREMARK = value; }
}
private string _FLYTIME = string.Empty;
[ModelDB]
public string FLYTIME
{
get { return _FLYTIME; }
set { _FLYTIME = value; }
}
private decimal _TimeMark = 0;
public decimal TimeMark
{
get { return _TimeMark; }
set { _TimeMark = value; }
}
private string _FLYTIME1 = "";
[ModelDB]
public string FLYTIME1
{
get { return _FLYTIME1; }
set { _FLYTIME1 = value; }
}
private string _FLYTIME2 = "";
[ModelDB]
public string FLYTIME2
{
get { return _FLYTIME2; }
set { _FLYTIME2 = value; }
}
private string _INVOICENO = "";
[ModelDB]
public string INVOICENO
{
get { return _INVOICENO; }
set { _INVOICENO = value; }
}
private decimal _ISVOID = 0;
//[ModelDB]
public decimal ISVOID
{
get { return _ISVOID; }
set { _ISVOID = value; }
}
private string _hdemo = "";
/// <summary>
/// 分单备注
/// </summary>
[ModelDB]
public string HDEMO
{
get { return _hdemo; }
set { _hdemo = value; }
}
#endregion
public MsOpAirn()
{
TableName = "op_airn";
}
override public string GetBillNoFieldName()
{
return "BSNO";
}
}
[JsonObject]
public class MsOpAirn_FreightPLANmb : ModelObjectBillHead
{
#region 读写属性
private string _GID = string.Empty;
private string _DESCRIPTION = string.Empty;
private string _CUSTCODE = string.Empty;
private string _CUSTOMERNAME = string.Empty;
private string _AREA = string.Empty;
private string _BLTYPE = string.Empty;
private string _STARTDATE = string.Empty;
private string _ENDDATE = string.Empty;
private string _ENTERDATE = string.Empty;
private string _ENTEROPERATOR = string.Empty;
private string _INUSE = string.Empty;
private decimal _TimeMark = 0;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string DESCRIPTION
{
get { return _DESCRIPTION; }
set { _DESCRIPTION = value; }
}
[ModelDB]
public string CUSTCODE
{
get { return _CUSTCODE; }
set { _CUSTCODE = value; }
}
[ModelDB]
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
[ModelDB]
public string AREA
{
get { return _AREA; }
set { _AREA = value; }
}
[ModelDB]
public string BLTYPE
{
get { return _BLTYPE; }
set { _BLTYPE = value; }
}
[ModelDB]
public string STARTDATE
{
get { return _STARTDATE; }
set { _STARTDATE = value; }
}
[ModelDB]
public string ENDDATE
{
get { return _ENDDATE; }
set { _ENDDATE = value; }
}
[ModelDB]
public string ENTERDATE
{
get { return _ENTERDATE; }
set { _ENTERDATE = value; }
}
[ModelDB]
public string ENTEROPERATOR
{
get { return _ENTEROPERATOR; }
set { _ENTEROPERATOR = value; }
}
[ModelDB]
public string INUSE
{
get { return _INUSE; }
set { _INUSE = value; }
}
public decimal TimeMark
{
get { return _TimeMark; }
set { _TimeMark = value; }
}
#endregion
public MsOpAirn_FreightPLANmb ( )
{
TableName = "OpAirn_FreightPLAN";
}
override public string GetBillNoFieldName ( )
{
return "GID";
}
}
[JsonObject]
public class MsOpAirn_Freight_Detailmb : ModelObjectBillBody
{
#region 读写属性
private string _GID = string.Empty;
private string _DESCRIPTION = string.Empty;
private string _PLAN_GID = string.Empty;
private string _CARGOGID = string.Empty;
private string _CARGO_CODE = string.Empty;
private string _CARGO_NAME = string.Empty;
private string _MINFEE = string.Empty;
private string _MINWEIGHT = string.Empty;
private string _W_5 = string.Empty;
private string _W_10 = string.Empty;
private string _W_N = string.Empty;
private string _W_45 = string.Empty;
private string _W_100 = string.Empty;
private string _W_300 = string.Empty;
private string _W_500 = string.Empty;
private string _W_1000 = string.Empty;
private string _REMARK = string.Empty;
private string _REMARK_2 = string.Empty;
private string _REMARK_3 = string.Empty;
private string _PORTLOADID = string.Empty;
private string _PORTDISCHARGEID = string.Empty;
private string _VESSEL = string.Empty;
private string _PORTLOADID_REF = string.Empty;
private string _PORTDISCHARGEID_REF = string.Empty;
private string _D_INFO = string.Empty;
private decimal _wm_n = 0M;
private decimal _wm_45 = 0M;
private decimal _wm_100 = 0M;
private decimal _wm_300 = 0M;
private decimal _wm_500 = 0M;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string DESCRIPTION
{
get { return _DESCRIPTION; }
set { _DESCRIPTION = value; }
}
[ModelDB]
public string PLAN_GID
{
get { return _PLAN_GID; }
set { _PLAN_GID = value; }
}
[ModelDB]
public string CARGOGID
{
get { return _CARGOGID; }
set { _CARGOGID = value; }
}
//[ModelDB]
public string CARGO_CODE
{
get { return _CARGO_CODE; }
set { _CARGO_CODE = value; }
}
//[ModelDB]
public string CARGO_NAME
{
get { return _CARGO_NAME; }
set { _CARGO_NAME = value; }
}
[ModelDB]
public string MINFEE
{
get { return _MINFEE; }
set { _MINFEE = value; }
}
[ModelDB]
public string MINWEIGHT
{
get { return _MINWEIGHT; }
set { _MINWEIGHT = value; }
}
[ModelDB]
public string W_5
{
get { return _W_5; }
set { _W_5 = value; }
}
[ModelDB]
public string W_10
{
get { return _W_10; }
set { _W_10 = value; }
}
[ModelDB]
public string W_N
{
get { return _W_N; }
set { _W_N = value; }
}
[ModelDB]
public string W_45
{
get { return _W_45; }
set { _W_45 = value; }
}
[ModelDB]
public string W_100
{
get { return _W_100; }
set { _W_100 = value; }
}
[ModelDB]
public string W_300
{
get { return _W_300; }
set { _W_300 = value; }
}
[ModelDB]
public string W_500
{
get { return _W_500; }
set { _W_500 = value; }
}
[ModelDB]
public string W_1000
{
get { return _W_1000; }
set { _W_1000 = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
[ModelDB]
public string REMARK_2
{
get { return _REMARK_2; }
set { _REMARK_2 = value; }
}
[ModelDB]
public string REMARK_3
{
get { return _REMARK_3; }
set { _REMARK_3 = value; }
}
[ModelDB]
public string PORTLOADID
{
get { return _PORTLOADID; }
set { _PORTLOADID = value; }
}
[ModelDB]
public string PORTDISCHARGEID
{
get { return _PORTDISCHARGEID; }
set { _PORTDISCHARGEID = value; }
}
[ModelDB]
public string VESSEL
{
get { return _VESSEL; }
set { _VESSEL = value; }
}
//[ModelDB]
public string PORTLOADID_REF
{
get { return _PORTLOADID_REF; }
set { _PORTLOADID_REF = value; }
}
//[ModelDB]
public string PORTDISCHARGEID_REF
{
get { return _PORTDISCHARGEID_REF; }
set { _PORTDISCHARGEID_REF = value; }
}
//[ModelDB]
public string D_INFO
{
get { return _D_INFO; }
set { _D_INFO = value; }
}
public decimal wm_n
{
get { return _wm_n; }
set { _wm_n = value; }
}
public decimal wm_45
{
get { return _wm_45; }
set { _wm_45 = value; }
}
public decimal wm_100
{
get { return _wm_100; }
set { _wm_100 = value; }
}
public decimal wm_300
{
get { return _wm_300; }
set { _wm_300 = value; }
}
public decimal wm_500
{
get { return _wm_500; }
set { _wm_500 = value; }
}
private string _VESSELHEAD = string.Empty;
[ModelDB]
public string VESSELHEAD
{
get { return _VESSELHEAD; }
set { _VESSELHEAD = value; }
}
#endregion
public MsOpAirn_Freight_Detailmb ( )
{
TableName = "OpAirn_Freight_Detail";
}
override public string GetBillNoFieldName ( )
{
return "PLAN_GID";
}
}
[JsonObject]
public class MsOpAirn_Cargomb : ModelObjectBillBody
{
#region 读写属性
private string _GID = string.Empty;
private string _BSNO = string.Empty;
private string _SEQUENCE = string.Empty;
private string _CARGOGID = string.Empty;
private string _CARGO_CODE = string.Empty;
private string _CARGONAME = string.Empty;
private string _BOXCOUNT = string.Empty;
private string _M_WEIGHT = string.Empty;
private string _WEIGHT = string.Empty;
private string _CBM = string.Empty;
private string _CBM_REMARK = string.Empty;
private string _PRICETYPE = string.Empty;
private string _PRICE = string.Empty;
private string _AMOUNT = string.Empty;
private string _PRICE_2 = string.Empty;
private string _AMOUNT_2 = string.Empty;
private string _PACKAGE = string.Empty;
private string _TH1 = string.Empty;
private string _TH2 = string.Empty;
private string _WEIGHT_2 = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string BSNO
{
get { return _BSNO; }
set { _BSNO = value; }
}
[ModelDB]
public string SEQUENCE
{
get { return _SEQUENCE; }
set { _SEQUENCE = value; }
}
[ModelDB]
public string CARGOGID
{
get { return _CARGOGID; }
set { _CARGOGID = value; }
}
public string CARGO_CODE
{
get { return _CARGO_CODE; }
set { _CARGO_CODE = value; }
}
[ModelDB]
public string CARGONAME
{
get { return _CARGONAME; }
set { _CARGONAME = value; }
}
[ModelDB]
public string BOXCOUNT
{
get { return _BOXCOUNT; }
set { _BOXCOUNT = value; }
}
[ModelDB]
public string M_WEIGHT
{
get { return _M_WEIGHT; }
set { _M_WEIGHT = value; }
}
[ModelDB]
public string WEIGHT
{
get { return _WEIGHT; }
set { _WEIGHT = value; }
}
[ModelDB]
public string CBM
{
get { return _CBM; }
set { _CBM = value; }
}
[ModelDB]
public string CBM_REMARK
{
get { return _CBM_REMARK; }
set { _CBM_REMARK = value; }
}
[ModelDB]
public string PRICETYPE
{
get { return _PRICETYPE; }
set { _PRICETYPE = value; }
}
[ModelDB]
public string PRICE
{
get { return _PRICE; }
set { _PRICE = value; }
}
[ModelDB]
public string AMOUNT
{
get { return _AMOUNT; }
set { _AMOUNT = value; }
}
[ModelDB]
public string PRICE_2
{
get { return _PRICE_2; }
set { _PRICE_2 = value; }
}
[ModelDB]
public string AMOUNT_2
{
get { return _AMOUNT_2; }
set { _AMOUNT_2 = value; }
}
[ModelDB]
public string PACKAGE
{
get { return _PACKAGE; }
set { _PACKAGE = value; }
}
[ModelDB]
public string TH1
{
get { return _TH1; }
set { _TH1 = value; }
}
[ModelDB]
public string TH2
{
get { return _TH2; }
set { _TH2 = value; }
}
[ModelDB]
public string WEIGHT_2
{
get { return _WEIGHT_2; }
set { _WEIGHT_2 = value; }
}
#endregion
public MsOpAirn_Cargomb ( )
{
TableName = "OP_AIRN_CARGO";
}
override public string GetBillNoFieldName ( )
{
return "BSNO";
}
}
[JsonObject]
public class MsOpAirn_RECEIPTWMSmb : ModelObjectBillHead
{
#region 读写属性
private string _GID = string.Empty;
private string _CUSTCODE = string.Empty;
private string _CUSTOMERNAME = string.Empty;
private string _RTYPE = string.Empty;
private string _FIRSTCODE = string.Empty;
private string _STARTNO = string.Empty;
private string _ENDNO = string.Empty;
private string _RCOUNT = string.Empty;
private string _ISBAOCANG = string.Empty;
private string _DEPTGID = string.Empty;
private string _OP = string.Empty;
private string _OPDATE = string.Empty;
private string _REMARK = string.Empty;
private string _STATUS = string.Empty;
//private string _ISWMS = string.Empty;
private decimal _TimeMark = 0;
private string _KC = string.Empty;
private string _QY = string.Empty;
private string _TD = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
//[ModelDB]
public string CUSTCODE
{
get { return _CUSTCODE; }
set { _CUSTCODE = value; }
}
[ModelDB]
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
[ModelDB]
public string RTYPE
{
get { return _RTYPE; }
set { _RTYPE = value; }
}
[ModelDB]
public string FIRSTCODE
{
get { return _FIRSTCODE; }
set { _FIRSTCODE = value; }
}
[ModelDB]
public string STARTNO
{
get { return _STARTNO; }
set { _STARTNO = value; }
}
[ModelDB]
public string ENDNO
{
get { return _ENDNO; }
set { _ENDNO = value; }
}
[ModelDB]
public string RCOUNT
{
get { return _RCOUNT; }
set { _RCOUNT = value; }
}
[ModelDB]
public string ISBAOCANG
{
get { return _ISBAOCANG; }
set { _ISBAOCANG = value; }
}
[ModelDB]
public string DEPTGID
{
get { return _DEPTGID; }
set { _DEPTGID = value; }
}
[ModelDB]
public string OP
{
get { return _OP; }
set { _OP = value; }
}
[ModelDB]
public string OPDATE
{
get { return _OPDATE; }
set { _OPDATE = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
[ModelDB]
public string STATUS
{
get { return _STATUS; }
set { _STATUS = value; }
}
//[ModelDB]
public decimal TimeMark
{
get { return _TimeMark; }
set { _TimeMark = value; }
}
public string KC
{
get { return _KC; }
set { _KC = value; }
}
public string QY
{
get { return _QY; }
set { _QY = value; }
}
public string TD
{
get { return _TD; }
set { _TD = value; }
}
#endregion
public MsOpAirn_RECEIPTWMSmb()
{
TableName = "op_airn_RECEIPTWMS";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
[JsonObject]
public class MsOpAirn_RECEIPTmb : ModelObjectBillBody
{
#region 读写属性
private string _GID = string.Empty;
private string _BSNO = string.Empty;
private string _CUSTOMERNAME = string.Empty;
private string _FIRSTCODE = string.Empty;
private string _RECEIPTNO = string.Empty;
private string _TOTALNO = string.Empty;
private string _RTYPE = string.Empty;
private string _ISBAOCANG = string.Empty;
private string _RSTATUS = string.Empty;
private string _OP = string.Empty;
private string _OPDATE = string.Empty;
private string _REMARK = string.Empty;
private string _ISWMS = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string BSNO
{
get { return _BSNO; }
set { _BSNO = value; }
}
//[ModelDB]
public string CUSTOMERNAME
{
get { return _CUSTOMERNAME; }
set { _CUSTOMERNAME = value; }
}
[ModelDB]
public string FIRSTCODE
{
get { return _FIRSTCODE; }
set { _FIRSTCODE = value; }
}
[ModelDB]
public string RECEIPTNO
{
get { return _RECEIPTNO; }
set { _RECEIPTNO = value; }
}
[ModelDB]
public string RTYPE
{
get { return _RTYPE; }
set { _RTYPE = value; }
}
[ModelDB]
public string ISBAOCANG
{
get { return _ISBAOCANG; }
set { _ISBAOCANG = value; }
}
[ModelDB]
public string RSTATUS
{
get { return _RSTATUS; }
set { _RSTATUS = value; }
}
[ModelDB]
public string OP
{
get { return _OP; }
set { _OP = value; }
}
[ModelDB]
public string OPDATE
{
get { return _OPDATE; }
set { _OPDATE = value; }
}
[ModelDB]
public string REMARK
{
get { return _REMARK; }
set { _REMARK = value; }
}
[ModelDB]
public string ISWMS
{
get { return _ISWMS; }
set { _ISWMS = value; }
}
public string TOTALNO
{
get { return _TOTALNO; }
set { _TOTALNO = value; }
}
#endregion
public MsOpAirn_RECEIPTmb()
{
TableName = "op_airn_RECEIPT";
}
override public string GetBillNoFieldName()
{
return "BSNO";
}
}
[JsonObject]
public class MsOpAirn_RECEIPTDOmb : MsOpAirn_RECEIPTmb
{
private string _R_GID = string.Empty;
[ModelDB]
public string R_GID
{
get { return _R_GID; }
set { _R_GID = value; }
}
public MsOpAirn_RECEIPTDOmb ( )
{
TableName = "op_airn_RECEIPTDO";
}
override public string GetBillNoFieldName ( )
{
return "BSNO";
}
}
}