|
|
using System;
|
|
|
using HcUtility.Core;
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsOpApply
|
|
|
{
|
|
|
[JsonObject]
|
|
|
public class MsOpApply : ModelObjectBillHead
|
|
|
{
|
|
|
#region 私有成员
|
|
|
// private string _BSNO ="opapply"+Guid.NewGuid().ToString();//业务编号
|
|
|
private string _BSNO =Guid.NewGuid().ToString();//业务编号
|
|
|
private string _MASTERNO;
|
|
|
private decimal _timeMark = 0;
|
|
|
private bool _BSSTATUS;//业务状态
|
|
|
private bool _FEESTATUS;//费用状态
|
|
|
private string _BSSTATUSREF = "未锁定";//
|
|
|
private string _FEESTATUSREF = "未锁定";//
|
|
|
|
|
|
private DateTime _BSDATE = DateTime.Now;//录入日期
|
|
|
private string _ACCDATE = DateTime.Now.ToString("yyyy-MM");//会计期间
|
|
|
private string _OPDATE =DateTime.Now.ToString("yyyy-MM-dd");//业务期间
|
|
|
private string _MBLNO = "";//主提单号
|
|
|
private string _HBLNO = "";//分提单号
|
|
|
private string _CUSTNO = "";//委托编号
|
|
|
private string _BSCUSTNO = "";//委托编号
|
|
|
private string _CUSTOMERNAME = "";//委托单位
|
|
|
private string _BSTYPE = "";//业务类型
|
|
|
private string _BSTYPEREF = "";
|
|
|
private string _VESSEL = "";//船名
|
|
|
private string _VOYNO = "";//航次
|
|
|
private string _ETD=null;//开船日期
|
|
|
private string _ETA = null;//开船日期
|
|
|
private string _PORTLOAD = "";//卸货港代码
|
|
|
private string _PORTDISCHARGE = "";//卸货港
|
|
|
private string _INPUTBY = "";//录入人
|
|
|
private string _OP = "";//操作员
|
|
|
private string _SALE = "";//揽货人
|
|
|
private string _CUSTOMSER = "";//报关行
|
|
|
private string _BSSOURCE = "";//业务来源
|
|
|
private string _BSSOURCEDETAIL = "";//来源明细
|
|
|
private string _CORPID = "";//分公司代码
|
|
|
private string _SALEDEPT = "";//所属业务部门
|
|
|
private decimal _PKGS;//件数;eger
|
|
|
private Decimal _KGS;//毛重
|
|
|
private Decimal _NETWEIGHT;//净重
|
|
|
private Decimal _CBM;//尺码
|
|
|
private string _CUSTOMNO = "";//报关单号
|
|
|
private string _BSCUSTOMNO = "";//报关单号
|
|
|
private string _CUSTOMDATE = DateTime.Now.ToString("yyyy-MM-dd");//报关日期
|
|
|
private string _INSPECTIONNO = "";//报检单号
|
|
|
private string _INSPECTIONDATE = null;//报检日期
|
|
|
private string _INVNO = "";//发票号
|
|
|
private string _CONTRACTNO = "";//合同号
|
|
|
private string _ARCOUNTRY = "";//运抵国
|
|
|
private string _GOODSOURCE = "";//货源地
|
|
|
private string _DOCNO = "";//批准文号
|
|
|
private string _TRADETYPE = "";//成交方式
|
|
|
private string _REMARK = "";//成交方式
|
|
|
private string _BOOKNO = "";//成交方式
|
|
|
private string _BYCUSTOM = "";//成交方式
|
|
|
private string _ENTERP = "";//
|
|
|
private string _ENTERPID = "";//
|
|
|
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 _IsSERVICE11 = "0";
|
|
|
private string _IsSERVICE12 = "0";
|
|
|
private string _IsSERVICE13 = "0";
|
|
|
private string _IsSERVICE14 = "0";
|
|
|
private string _IsSERVICE15 = "0";
|
|
|
private string _IsSERVICE16 = "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 = "";
|
|
|
private string _SERVICE11 = "";
|
|
|
private string _SERVICE12 = "";
|
|
|
private string _SERVICE13 = "";
|
|
|
private string _SERVICE14 = "";
|
|
|
private string _SERVICE15 = "";
|
|
|
private string _SERVICE16 = "";
|
|
|
private string _CUSTOMTYPE = "";
|
|
|
private string _ISCLEAR = "0";
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
/// <summary>
|
|
|
/// 业务编号
|
|
|
/// </summary>
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
public string BSNO {get{return _BSNO ;}set { _BSNO = value;}}
|
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
public string MASTERNO { get { return _MASTERNO; } set { _MASTERNO = value; } }
|
|
|
|
|
|
public decimal TimeMark
|
|
|
{
|
|
|
get { return _timeMark; }
|
|
|
set { _timeMark = value; }
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 业务状态
|
|
|
/// </summary>
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
public bool BSSTATUS { get { return _BSSTATUS; } set { _BSSTATUS = value; } }
|
|
|
public string BSSTATUSREF { get { return _BSSTATUSREF; } set { _BSSTATUSREF = value; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 费用状态
|
|
|
/// </summary>
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
public bool FEESTATUS { get { return _FEESTATUS; } set { _FEESTATUS = value; } }
|
|
|
public string FEESTATUSREF { get { return _FEESTATUSREF; } set { _FEESTATUSREF = 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; } }
|
|
|
/// <summary>
|
|
|
/// 录入日期
|
|
|
/// </summary>
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
public DateTime BSDATE { get { return _BSDATE; } set { _BSDATE = value; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 会计期间
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string ACCDATE { get { return _ACCDATE; } set { _ACCDATE = value; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 业务期间
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string OPDATE { get { return _OPDATE; } set { _OPDATE = value; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 主提单号
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string MBLNO { get { return _MBLNO; } set { _MBLNO = value; } }
|
|
|
|
|
|
[ModelDB]
|
|
|
public string HBLNO { get { return _HBLNO; } set { _HBLNO = value; } }
|
|
|
/// <summary>
|
|
|
/// 委托编号
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string CUSTNO { get { return _CUSTNO; } set { _CUSTNO = value; } }
|
|
|
public string BSCUSTNO { get { return _BSCUSTNO; } set { _BSCUSTNO = value; } }
|
|
|
/// <summary>
|
|
|
/// 委托单位
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } }
|
|
|
|
|
|
private string _MANIFESTSTATUS = "无状态";
|
|
|
/// <summary>
|
|
|
/// 业务状态_中文
|
|
|
/// </summary>
|
|
|
public string MANIFESTSTATUS
|
|
|
{
|
|
|
get { return _MANIFESTSTATUS; }
|
|
|
set { _MANIFESTSTATUS = value; }
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
/// 业务类型
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string BSTYPE { get { return _BSTYPE; } set { _BSTYPE = value; } }
|
|
|
|
|
|
public string BSTYPEREF { get { return _BSTYPEREF; } set { _BSTYPEREF = value; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 船名
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string VESSEL { get { return _VESSEL; } set { _VESSEL = value; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 航次
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string VOYNO { get { return _VOYNO; } set { _VOYNO = value; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 开船日期
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string ETD { get { return _ETD; } set { _ETD = value; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 预抵日期
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string ETA { get { return _ETA; } set { _ETA = value; } }
|
|
|
|
|
|
[ModelDB]
|
|
|
public string PORTLOAD { get { return _PORTLOAD; } set { _PORTLOAD = value; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 卸货港
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string PORTDISCHARGE { get { return _PORTDISCHARGE; } set { _PORTDISCHARGE = value; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 录入人
|
|
|
/// </summary>
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
public string INPUTBY { get { return _INPUTBY; } set { _INPUTBY = value; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 操作员
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string OP { get { return _OP; } set { _OP = value; } }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// 揽货人
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string SALE { get { return _SALE; } set { _SALE = value; } }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// 报关行
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string CUSTOMSER { get { return _CUSTOMSER; } set { _CUSTOMSER = value; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 业务来源
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string BSSOURCE { get { return _BSSOURCE; } set { _BSSOURCE = value; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 来源明细
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string BSSOURCEDETAIL { get { return _BSSOURCEDETAIL; } set { _BSSOURCEDETAIL = value; } }
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
public string CORPID { get { return _CORPID; } set { _CORPID = value; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 所属业务部门
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string SALEDEPT { get { return _SALEDEPT; } set { _SALEDEPT = value; } }
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
public decimal PKGS { get { return _PKGS; } set { _PKGS = value; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 毛重
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public Decimal KGS { get { return _KGS; } set { _KGS = value; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 净重
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public Decimal NETWEIGHT { get { return _NETWEIGHT; } set { _NETWEIGHT = value; } }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 尺码
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public Decimal CBM { get { return _CBM; } set { _CBM = value; } }
|
|
|
|
|
|
[ModelDB]
|
|
|
public string CUSTOMNO { get { return _CUSTOMNO; } set { _CUSTOMNO = value; } }
|
|
|
[ModelDB]
|
|
|
public string BSCUSTOMNO { get { return _BSCUSTOMNO; } set { _BSCUSTOMNO = 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 INVNO { get { return _INVNO; } set { _INVNO = value; } }
|
|
|
[ModelDB]
|
|
|
public string CONTRACTNO { get { return _CONTRACTNO; } set { _CONTRACTNO = value; } }
|
|
|
[ModelDB]
|
|
|
public string ARCOUNTRY { get { return _ARCOUNTRY; } set { _ARCOUNTRY = value; } }
|
|
|
[ModelDB]
|
|
|
public string GOODSOURCE { get { return _GOODSOURCE; } set { _GOODSOURCE = value; } }
|
|
|
[ModelDB]
|
|
|
public string DOCNO { get { return _DOCNO; } set { _DOCNO = value; } }
|
|
|
[ModelDB]
|
|
|
public string TRADETYPE { get { return _TRADETYPE; } set { _TRADETYPE = value; } }
|
|
|
[ModelDB]
|
|
|
public string REMARK { get { return _REMARK; } set { _REMARK = value; } }
|
|
|
[ModelDB]
|
|
|
public string BOOKNO { get { return _BOOKNO; } set { _BOOKNO = value; } }
|
|
|
[ModelDB]
|
|
|
public string BYCUSTOM { get { return _BYCUSTOM; } set { _BYCUSTOM = value; } }
|
|
|
[ModelDB]
|
|
|
public string ENTERP { get { return _ENTERP; } set { _ENTERP = value; } }
|
|
|
[ModelDB]
|
|
|
public string ENTERPID { get { return _ENTERPID; } set { _ENTERPID = value; } }
|
|
|
private string _CLEARCUSTOMDATE = null;//报关日期
|
|
|
private string _INSPECTSERVICE = "";//
|
|
|
private bool _ISMOREGOOD = false;
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
public string CLEARCUSTOMDATE { get { return _CLEARCUSTOMDATE; } set { _CLEARCUSTOMDATE = value; } }
|
|
|
|
|
|
[ModelDB]
|
|
|
public string INSPECTSERVICE { get { return _INSPECTSERVICE; } set { _INSPECTSERVICE = value; } }
|
|
|
/// <summary>
|
|
|
/// 多品名
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public bool ISMOREGOOD { get { return _ISMOREGOOD; } set { _ISMOREGOOD = value; } }
|
|
|
private int _customsnum = 1;
|
|
|
|
|
|
private int _cntr1 = 0;
|
|
|
/// <summary>
|
|
|
/// 箱型1
|
|
|
/// </summary>
|
|
|
public int CNTR1
|
|
|
{
|
|
|
get { return _cntr1; }
|
|
|
set { _cntr1 = value; }
|
|
|
}
|
|
|
|
|
|
private int _cntr2 = 0;
|
|
|
/// <summary>
|
|
|
/// 箱型2
|
|
|
/// </summary>
|
|
|
public int CNTR2
|
|
|
{
|
|
|
get { return _cntr2; }
|
|
|
set { _cntr2 = value; }
|
|
|
}
|
|
|
|
|
|
private int _cntr3 = 0;
|
|
|
/// <summary>
|
|
|
/// 箱型3
|
|
|
/// </summary>
|
|
|
public int CNTR3
|
|
|
{
|
|
|
get { return _cntr3; }
|
|
|
set { _cntr3 = value; }
|
|
|
}
|
|
|
|
|
|
private int _cntr4 = 0;
|
|
|
/// <summary>
|
|
|
/// 箱型4
|
|
|
/// </summary>
|
|
|
public int CNTR4
|
|
|
{
|
|
|
get { return _cntr4; }
|
|
|
set { _cntr4 = value; }
|
|
|
}
|
|
|
|
|
|
private int _cntr5 = 0;
|
|
|
/// <summary>
|
|
|
/// 箱型5
|
|
|
/// </summary>
|
|
|
public int CNTR5
|
|
|
{
|
|
|
get { return _cntr5; }
|
|
|
set { _cntr5 = value; }
|
|
|
}
|
|
|
|
|
|
private int _cntr6 = 0;
|
|
|
/// <summary>
|
|
|
/// 箱型6
|
|
|
/// </summary>
|
|
|
public int CNTR6
|
|
|
{
|
|
|
get { return _cntr6; }
|
|
|
set { _cntr6 = value; }
|
|
|
}
|
|
|
|
|
|
private int _cntr7 = 0;
|
|
|
/// <summary>
|
|
|
/// 箱型7
|
|
|
/// </summary>
|
|
|
public int CNTR7
|
|
|
{
|
|
|
get { return _cntr7; }
|
|
|
set { _cntr7 = value; }
|
|
|
}
|
|
|
|
|
|
private int _cntr8 = 0;
|
|
|
/// <summary>
|
|
|
/// 箱型8
|
|
|
/// </summary>
|
|
|
public int CNTR8
|
|
|
{
|
|
|
get { return _cntr8; }
|
|
|
set { _cntr8 = value; }
|
|
|
}
|
|
|
|
|
|
private int _cntr9 = 0;
|
|
|
/// <summary>
|
|
|
/// 箱型9
|
|
|
/// </summary>
|
|
|
public int CNTR9
|
|
|
{
|
|
|
get { return _cntr9; }
|
|
|
set { _cntr9 = value; }
|
|
|
}
|
|
|
|
|
|
private int _cntr10 = 0;
|
|
|
/// <summary>
|
|
|
/// 箱型10
|
|
|
/// </summary>
|
|
|
public int CNTR10
|
|
|
{
|
|
|
get { return _cntr10; }
|
|
|
set { _cntr10 = value; }
|
|
|
}
|
|
|
|
|
|
private int _otcntr = 0;
|
|
|
/// <summary>
|
|
|
/// 其他箱型
|
|
|
/// </summary>
|
|
|
public int OTCNTR
|
|
|
{
|
|
|
get { return _otcntr; }
|
|
|
set { _otcntr = value; }
|
|
|
}
|
|
|
|
|
|
private int _teu = 0;
|
|
|
/// <summary>
|
|
|
/// 箱TEU
|
|
|
/// </summary>
|
|
|
|
|
|
public int TEU
|
|
|
{
|
|
|
get { return _teu; }
|
|
|
set { _teu = value; }
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
/// 报关票数
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public int CUSTOMSNUM
|
|
|
{
|
|
|
get { return _customsnum; }
|
|
|
set { _customsnum = value; }
|
|
|
}
|
|
|
|
|
|
[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; }
|
|
|
}
|
|
|
[ModelDB]
|
|
|
public string IsSERVICE11
|
|
|
{
|
|
|
get { return _IsSERVICE11; }
|
|
|
set { _IsSERVICE11 = value; }
|
|
|
}
|
|
|
[ModelDB]
|
|
|
public string IsSERVICE12
|
|
|
{
|
|
|
get { return _IsSERVICE12; }
|
|
|
set { _IsSERVICE12 = value; }
|
|
|
}
|
|
|
[ModelDB]
|
|
|
public string IsSERVICE13
|
|
|
{
|
|
|
get { return _IsSERVICE13; }
|
|
|
set { _IsSERVICE13 = value; }
|
|
|
}
|
|
|
[ModelDB]
|
|
|
public string IsSERVICE14
|
|
|
{
|
|
|
get { return _IsSERVICE14; }
|
|
|
set { _IsSERVICE14= value; }
|
|
|
}
|
|
|
[ModelDB]
|
|
|
public string IsSERVICE15
|
|
|
{
|
|
|
get { return _IsSERVICE15; }
|
|
|
set { _IsSERVICE15 = value; }
|
|
|
}
|
|
|
[ModelDB]
|
|
|
public string IsSERVICE16
|
|
|
{
|
|
|
get { return _IsSERVICE16; }
|
|
|
set { _IsSERVICE16 = 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; }
|
|
|
}
|
|
|
|
|
|
public string SERVICE11
|
|
|
{
|
|
|
get { return _SERVICE11; }
|
|
|
set { _SERVICE11 = value; }
|
|
|
}
|
|
|
|
|
|
public string SERVICE12
|
|
|
{
|
|
|
get { return _SERVICE12; }
|
|
|
set { _SERVICE12 = value; }
|
|
|
}
|
|
|
|
|
|
public string SERVICE13
|
|
|
{
|
|
|
get { return _SERVICE13; }
|
|
|
set { _SERVICE13 = value; }
|
|
|
}
|
|
|
|
|
|
public string SERVICE14
|
|
|
{
|
|
|
get { return _SERVICE14; }
|
|
|
set { _SERVICE14= value; }
|
|
|
}
|
|
|
|
|
|
public string SERVICE15
|
|
|
{
|
|
|
get { return _SERVICE15; }
|
|
|
set { _SERVICE15 = value; }
|
|
|
}
|
|
|
|
|
|
public string SERVICE16
|
|
|
{
|
|
|
get { return _SERVICE16; }
|
|
|
set { _SERVICE16= value; }
|
|
|
}
|
|
|
private string _tradeterm = "";
|
|
|
/// <summary>
|
|
|
/// 贸易条款
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string TRADETERM
|
|
|
{
|
|
|
get { return _tradeterm; }
|
|
|
set { _tradeterm = 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; } }
|
|
|
|
|
|
[ModelDB]
|
|
|
public string CUSTOMTYPE
|
|
|
{
|
|
|
get { return _CUSTOMTYPE; }
|
|
|
set { _CUSTOMTYPE = value; }
|
|
|
}
|
|
|
[ModelDB]
|
|
|
public string ISCLEAR
|
|
|
{
|
|
|
get { return _ISCLEAR; }
|
|
|
set { _ISCLEAR = value; }
|
|
|
}
|
|
|
|
|
|
private string _WMSNO = "";
|
|
|
|
|
|
[ModelDB]
|
|
|
public string WMSNO
|
|
|
{
|
|
|
get { return _WMSNO; }
|
|
|
set { _WMSNO = value; }
|
|
|
}
|
|
|
private string _CUSTOMSLNO = "";
|
|
|
|
|
|
[ModelDB]
|
|
|
public string CUSTOMSLNO
|
|
|
{
|
|
|
get { return _CUSTOMSLNO; }
|
|
|
set { _CUSTOMSLNO = value; }
|
|
|
}
|
|
|
|
|
|
private string _ISCUSTOMEND = "0";
|
|
|
[ModelDB]
|
|
|
public string ISCUSTOMEND
|
|
|
{
|
|
|
get { return _ISCUSTOMEND; }
|
|
|
set { _ISCUSTOMEND = value; }
|
|
|
}
|
|
|
|
|
|
|
|
|
//需求编号:SR2017081100003
|
|
|
private int _ediywlx = 0;
|
|
|
/// <summary>
|
|
|
/// 易航线_0代表一般出口业务;1代表一般进口业务;2代表出口备案手册业务;3代表进口备案手册业务;4出境清单业务;5进境清单业务;
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public int EDIYWLX
|
|
|
{
|
|
|
get { return _ediywlx; }
|
|
|
set { _ediywlx = value; }
|
|
|
}
|
|
|
|
|
|
private string _recordsn = "";
|
|
|
/// <summary>
|
|
|
/// 易航线_备案号,ediYwlx =0||1时,该字段不填写,其他必须填写
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string RECORDSN
|
|
|
{
|
|
|
get { return _recordsn; }
|
|
|
set { _recordsn = value; }
|
|
|
}
|
|
|
|
|
|
private string _payment = "";
|
|
|
/// <summary>
|
|
|
/// 易航线_征税比例(电汇),出口方式需要必填,进口方式不填
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string PAYMENT
|
|
|
{
|
|
|
get { return _payment; }
|
|
|
set { _payment = value; }
|
|
|
}
|
|
|
|
|
|
private string _carriagetype = "";
|
|
|
/// <summary>
|
|
|
/// 易航线_运费类型,率,单价,总价
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string CARRIAGETYPE
|
|
|
{
|
|
|
get { return _carriagetype; }
|
|
|
set { _carriagetype = value; }
|
|
|
}
|
|
|
|
|
|
private decimal _carriageprice = 0;
|
|
|
/// <summary>
|
|
|
/// 易航线_运费金额
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public decimal CARRIAGEPRICE
|
|
|
{
|
|
|
get { return _carriageprice; }
|
|
|
set { _carriageprice = value; }
|
|
|
}
|
|
|
|
|
|
private string _carriagecurrency = "";
|
|
|
/// <summary>
|
|
|
/// 易航线_运费币制,当carriageType是[率]时,不能填运费币制
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string CARRIAGECURRENCY
|
|
|
{
|
|
|
get { return _carriagecurrency; }
|
|
|
set { _carriagecurrency = value; }
|
|
|
}
|
|
|
|
|
|
private string _premiumtype = "";
|
|
|
/// <summary>
|
|
|
/// 易航线_保费类型,率,单价,总价
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string PREMIUMTYPE
|
|
|
{
|
|
|
get { return _premiumtype; }
|
|
|
set { _premiumtype = value; }
|
|
|
}
|
|
|
|
|
|
private decimal _premiumprice = 0;
|
|
|
/// <summary>
|
|
|
/// 易航线_保费金额
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public decimal PREMIUMPRICE
|
|
|
{
|
|
|
get { return _premiumprice; }
|
|
|
set { _premiumprice = value; }
|
|
|
}
|
|
|
|
|
|
private string _premiumcurrency = "";
|
|
|
/// <summary>
|
|
|
/// 易航线_保费币制,当premiumType是[率]时,不能填保费币制
|
|
|
/// </summary>
|
|
|
[ModelDB]
|
|
|
public string PREMIUMCURRENCY
|
|
|
{
|
|
|
get { return _premiumcurrency; }
|
|
|
set { _premiumcurrency = value; }
|
|
|
}
|
|
|
#endregion
|
|
|
|
|
|
public MsOpApply()
|
|
|
{
|
|
|
TableName = "op_apply";
|
|
|
}
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
{
|
|
|
return "BsNo";
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[JsonObject]
|
|
|
public class MsOpApplySum : ModelObjectBillHead
|
|
|
{
|
|
|
#region 读写属性
|
|
|
|
|
|
private int _nobill = 0;
|
|
|
private int _SERVICE1 = 0;
|
|
|
private int _SERVICE2 = 0;
|
|
|
private int _SERVICE3 =0;
|
|
|
private int _SERVICE4 = 0;
|
|
|
private int _SERVICE5 = 0;
|
|
|
private int _SERVICE6 = 0;
|
|
|
private int _SERVICE7 = 0;
|
|
|
private int _SERVICE8 = 0;
|
|
|
private int _SERVICE9 =0;
|
|
|
private int _SERVICE10 = 0;
|
|
|
private int _SERVICE11 = 0;
|
|
|
private int _SERVICE12 = 0;
|
|
|
private int _SERVICE13 = 0;
|
|
|
private int _SERVICE14 = 0;
|
|
|
private int _SERVICE15 = 0;
|
|
|
private int _SERVICE16 = 0;
|
|
|
|
|
|
/// <summary>
|
|
|
/// 提单份数
|
|
|
/// </summary>
|
|
|
public int NOBILL
|
|
|
{
|
|
|
get { return _nobill; }
|
|
|
set { _nobill = value; }
|
|
|
}
|
|
|
|
|
|
private int _customsnum = 0;
|
|
|
|
|
|
public int CUSTOMSNUM
|
|
|
{
|
|
|
get { return _customsnum; }
|
|
|
set { _customsnum = value; }
|
|
|
}
|
|
|
|
|
|
|
|
|
public int SERVICE1
|
|
|
{
|
|
|
get { return _SERVICE1; }
|
|
|
set { _SERVICE1 = value; }
|
|
|
}
|
|
|
|
|
|
|
|
|
public int SERVICE2
|
|
|
{
|
|
|
get { return _SERVICE2; }
|
|
|
set { _SERVICE2 = value; }
|
|
|
}
|
|
|
|
|
|
public int SERVICE3
|
|
|
{
|
|
|
get { return _SERVICE3; }
|
|
|
set { _SERVICE3 = value; }
|
|
|
}
|
|
|
|
|
|
public int SERVICE4
|
|
|
{
|
|
|
get { return _SERVICE4; }
|
|
|
set { _SERVICE4 = value; }
|
|
|
}
|
|
|
|
|
|
public int SERVICE5
|
|
|
{
|
|
|
get { return _SERVICE5; }
|
|
|
set { _SERVICE5 = value; }
|
|
|
}
|
|
|
|
|
|
public int SERVICE6
|
|
|
{
|
|
|
get { return _SERVICE6; }
|
|
|
set { _SERVICE6 = value; }
|
|
|
}
|
|
|
|
|
|
public int SERVICE7
|
|
|
{
|
|
|
get { return _SERVICE7; }
|
|
|
set { _SERVICE7 = value; }
|
|
|
}
|
|
|
|
|
|
public int SERVICE8
|
|
|
{
|
|
|
get { return _SERVICE8; }
|
|
|
set { _SERVICE8 = value; }
|
|
|
}
|
|
|
public int SERVICE9
|
|
|
{
|
|
|
get { return _SERVICE9; }
|
|
|
set { _SERVICE9 = value; }
|
|
|
}
|
|
|
|
|
|
|
|
|
public int SERVICE10
|
|
|
{
|
|
|
get { return _SERVICE10; }
|
|
|
set { _SERVICE10 = value; }
|
|
|
}
|
|
|
|
|
|
public int SERVICE11
|
|
|
{
|
|
|
get { return _SERVICE11; }
|
|
|
set { _SERVICE11 = value; }
|
|
|
}
|
|
|
|
|
|
public int SERVICE12
|
|
|
{
|
|
|
get { return _SERVICE12; }
|
|
|
set { _SERVICE12 = value; }
|
|
|
}
|
|
|
|
|
|
public int SERVICE13
|
|
|
{
|
|
|
get { return _SERVICE13; }
|
|
|
set { _SERVICE13 = value; }
|
|
|
}
|
|
|
|
|
|
public int SERVICE14
|
|
|
{
|
|
|
get { return _SERVICE14; }
|
|
|
set { _SERVICE14 = value; }
|
|
|
}
|
|
|
|
|
|
public int SERVICE15
|
|
|
{
|
|
|
get { return _SERVICE15; }
|
|
|
set { _SERVICE15 = value; }
|
|
|
}
|
|
|
|
|
|
public int SERVICE16
|
|
|
{
|
|
|
get { return _SERVICE16; }
|
|
|
set { _SERVICE16 = value; }
|
|
|
}
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
}
|
|
|
|
|
|
[JsonObject]
|
|
|
public class ENTERP: ModelObjectBase
|
|
|
{
|
|
|
#region private Fields
|
|
|
|
|
|
private string _CUSTOMER = string.Empty;
|
|
|
|
|
|
private string _ENTERPID = string.Empty;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
#region Public Properties
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public string ENTERPID
|
|
|
{
|
|
|
get { return _ENTERPID; }
|
|
|
set { _ENTERPID = value; }
|
|
|
}
|
|
|
|
|
|
public string CUSTOMER
|
|
|
{
|
|
|
get { return _CUSTOMER; }
|
|
|
set { _CUSTOMER = value; }
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
public class MsOpApplyELine : ModelObjectBillHead
|
|
|
{
|
|
|
#region 易航线网站返回的数据解析实体类
|
|
|
private string _taskId = "";
|
|
|
/// <summary>
|
|
|
/// 空
|
|
|
/// </summary>
|
|
|
public string taskId
|
|
|
{
|
|
|
get { return _taskId; }
|
|
|
set { _taskId = value; }
|
|
|
}
|
|
|
|
|
|
private string _resultCode = "";
|
|
|
/// <summary>
|
|
|
/// 回值码, 0错误 1正确
|
|
|
/// </summary>
|
|
|
public string resultCode
|
|
|
{
|
|
|
get { return _resultCode; }
|
|
|
set { _resultCode = value; }
|
|
|
}
|
|
|
|
|
|
private string _resultValue = "";
|
|
|
/// <summary>
|
|
|
/// 回值描述(正确时为返回的token,错误时为错误提示),Token仅存2小时,到时失效,需要再次获取
|
|
|
/// </summary>
|
|
|
public string resultValue
|
|
|
{
|
|
|
get { return _resultValue; }
|
|
|
set { _resultValue = value; }
|
|
|
}
|
|
|
|
|
|
private string _systemNum = "";
|
|
|
/// <summary>
|
|
|
/// 回值描述
|
|
|
/// </summary>
|
|
|
public string systemNum
|
|
|
{
|
|
|
get { return _systemNum; }
|
|
|
set { _systemNum = value; }
|
|
|
}
|
|
|
#endregion
|
|
|
}
|
|
|
}
|