|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsOpSeae
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsOpSeaeTemplate : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 读写属性
|
|
|
|
|
private string _gid = Guid.NewGuid().ToString();
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _bsno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string BSNO
|
|
|
|
|
{
|
|
|
|
|
get { return _bsno; }
|
|
|
|
|
set { _bsno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _TEMPLATENAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模板名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string TEMPLATENAME
|
|
|
|
|
{
|
|
|
|
|
get { return _TEMPLATENAME; }
|
|
|
|
|
set { _TEMPLATENAME = 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 _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 HH:mm:ss");
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CREATETIME
|
|
|
|
|
{
|
|
|
|
|
get{ return _createtime; }
|
|
|
|
|
set{ _createtime = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _vessel = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船名
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string VESSEL
|
|
|
|
|
{
|
|
|
|
|
get{ return _vessel; }
|
|
|
|
|
set{ _vessel = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _placereceipt = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收货地
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PLACERECEIPT
|
|
|
|
|
{
|
|
|
|
|
get { return _placereceipt; }
|
|
|
|
|
set { _placereceipt = 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 _placedeliveryid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 交货地代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PLACEDELIVERYID
|
|
|
|
|
{
|
|
|
|
|
get { return _placedeliveryid; }
|
|
|
|
|
set { _placedeliveryid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _placedelivery = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 交货地
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PLACEDELIVERY
|
|
|
|
|
{
|
|
|
|
|
get { return _placedelivery; }
|
|
|
|
|
set { _placedelivery = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _destinationid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 目的地代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DESTINATIONID
|
|
|
|
|
{
|
|
|
|
|
get { return _destinationid; }
|
|
|
|
|
set { _destinationid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _destination = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 目的地
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DESTINATION
|
|
|
|
|
{
|
|
|
|
|
get { return _destination; }
|
|
|
|
|
set { _destination = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _nobill = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提单份数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string NOBILL
|
|
|
|
|
{
|
|
|
|
|
get { return _nobill; }
|
|
|
|
|
set { _nobill = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _copynobill = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提单份数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string COPYNOBILL
|
|
|
|
|
{
|
|
|
|
|
get { return _copynobill; }
|
|
|
|
|
set { _copynobill = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _issuetype = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 签单方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ISSUETYPE
|
|
|
|
|
{
|
|
|
|
|
get { return _issuetype; }
|
|
|
|
|
set { _issuetype = 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 _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 _mshipperid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发货人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MSHIPPERID
|
|
|
|
|
{
|
|
|
|
|
get { return _mshipperid; }
|
|
|
|
|
set { _mshipperid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _mconsigneeid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收货人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MCONSIGNEEID
|
|
|
|
|
{
|
|
|
|
|
get { return _mconsigneeid; }
|
|
|
|
|
set { _mconsigneeid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _mnotifypartyid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 通知人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MNOTIFYPARTYID
|
|
|
|
|
{
|
|
|
|
|
get { return _mnotifypartyid; }
|
|
|
|
|
set { _mnotifypartyid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _mshipper = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发货人内容
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MSHIPPER
|
|
|
|
|
{
|
|
|
|
|
get { return _mshipper; }
|
|
|
|
|
set { _mshipper = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _mconsignee = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收货人内容
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MCONSIGNEE
|
|
|
|
|
{
|
|
|
|
|
get { return _mconsignee; }
|
|
|
|
|
set { _mconsignee = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _mnotifyparty = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 通知人内容
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MNOTIFYPARTY
|
|
|
|
|
{
|
|
|
|
|
get { return _mnotifyparty; }
|
|
|
|
|
set { _mnotifyparty = 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 _yard = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 场站/靠泊码头
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string YARD
|
|
|
|
|
{
|
|
|
|
|
get{ return _yard; }
|
|
|
|
|
set{ _yard = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _blfrt = "FREIGHT PREPAID";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 付费方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BLFRT
|
|
|
|
|
{
|
|
|
|
|
get{ return _blfrt; }
|
|
|
|
|
set{ _blfrt = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _prepardat = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预付地点
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PREPARDAT
|
|
|
|
|
{
|
|
|
|
|
get{ return _prepardat; }
|
|
|
|
|
set{ _prepardat = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _payableat = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 到付地点
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PAYABLEAT
|
|
|
|
|
{
|
|
|
|
|
get{ return _payableat; }
|
|
|
|
|
set{ _payableat = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _service = "CY-CY";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 运输条款
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SERVICE
|
|
|
|
|
{
|
|
|
|
|
get{ return _service; }
|
|
|
|
|
set{ _service = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _marks = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 唛头
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MARKS
|
|
|
|
|
{
|
|
|
|
|
get{ return _marks; }
|
|
|
|
|
set{ _marks = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _nopkgs = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 件数包装
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string NOPKGS
|
|
|
|
|
{
|
|
|
|
|
get{ return _nopkgs; }
|
|
|
|
|
set{ _nopkgs = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _description = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货物描述
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DESCRIPTION
|
|
|
|
|
{
|
|
|
|
|
get{ return _description; }
|
|
|
|
|
set{ _description = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _grossweight = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货物毛重
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string GROSSWEIGHT
|
|
|
|
|
{
|
|
|
|
|
get{ return _grossweight; }
|
|
|
|
|
set{ _grossweight = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _measurement = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货物尺码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MEASUREMENT
|
|
|
|
|
{
|
|
|
|
|
get{ return _measurement; }
|
|
|
|
|
set{ _measurement = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _pkgs = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 件数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal PKGS
|
|
|
|
|
{
|
|
|
|
|
get{ return _pkgs; }
|
|
|
|
|
set{ _pkgs = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _kindpkgs = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 件数包装
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string KINDPKGS
|
|
|
|
|
{
|
|
|
|
|
get{ return _kindpkgs; }
|
|
|
|
|
set{ _kindpkgs = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _cbm = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 立方数/尺码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal CBM
|
|
|
|
|
{
|
|
|
|
|
get{ return _cbm; }
|
|
|
|
|
set{ _cbm = 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 _lane = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 航线
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string LANE
|
|
|
|
|
{
|
|
|
|
|
get{ return _lane; }
|
|
|
|
|
set{ _lane = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _carrier = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船公司
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CARRIER
|
|
|
|
|
{
|
|
|
|
|
get{ return _carrier; }
|
|
|
|
|
set{ _carrier = 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 _cargoid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货物标识
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CARGOID
|
|
|
|
|
{
|
|
|
|
|
get{ return _cargoid; }
|
|
|
|
|
set{ _cargoid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _dclass = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 危险品分类/等级
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DCLASS
|
|
|
|
|
{
|
|
|
|
|
get{ return _dclass; }
|
|
|
|
|
set{ _dclass = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _dunno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 危险品编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DUNNO
|
|
|
|
|
{
|
|
|
|
|
get{ return _dunno; }
|
|
|
|
|
set{ _dunno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _dpage = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 危险品页号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DPAGE
|
|
|
|
|
{
|
|
|
|
|
get { return _dpage; }
|
|
|
|
|
set { _dpage = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _dlabel = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 危险品标签
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DLABEL
|
|
|
|
|
{
|
|
|
|
|
get { return _dlabel; }
|
|
|
|
|
set { _dlabel = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _linkman = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 危险品联系人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string LINKMAN
|
|
|
|
|
{
|
|
|
|
|
get { return _linkman; }
|
|
|
|
|
set { _linkman = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _reeferf = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 冷藏通风量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REEFERF
|
|
|
|
|
{
|
|
|
|
|
get{ return _reeferf; }
|
|
|
|
|
set{ _reeferf = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _tempid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 温度单位
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string TEMPID
|
|
|
|
|
{
|
|
|
|
|
get{ return _tempid; }
|
|
|
|
|
set{ _tempid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _tempset = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设置温度
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string TEMPSET
|
|
|
|
|
{
|
|
|
|
|
get{ return _tempset; }
|
|
|
|
|
set{ _tempset = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _tempmax = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最高温度
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string TEMPMAX
|
|
|
|
|
{
|
|
|
|
|
get{ return _tempmax; }
|
|
|
|
|
set{ _tempmax = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _tempmin = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最低温度
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string TEMPMIN
|
|
|
|
|
{
|
|
|
|
|
get{ return _tempmin; }
|
|
|
|
|
set{ _tempmin = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _HUMIDITY = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 湿度
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string HUMIDITY
|
|
|
|
|
{
|
|
|
|
|
get { return _HUMIDITY; }
|
|
|
|
|
set { _HUMIDITY = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _remark = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARK
|
|
|
|
|
{
|
|
|
|
|
get{ return _remark; }
|
|
|
|
|
set{ _remark = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private bool _isfumigation = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 熏蒸
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISFUMIGATION
|
|
|
|
|
{
|
|
|
|
|
get{ return _isfumigation; }
|
|
|
|
|
set{ _isfumigation = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isstorage = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 仓储
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISSTORAGE
|
|
|
|
|
{
|
|
|
|
|
get{ return _isstorage; }
|
|
|
|
|
set{ _isstorage = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _island = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 陆运
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISLAND
|
|
|
|
|
{
|
|
|
|
|
get{ return _island; }
|
|
|
|
|
set{ _island = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _iscustoms = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 报关
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISCUSTOMS
|
|
|
|
|
{
|
|
|
|
|
get{ return _iscustoms; }
|
|
|
|
|
set{ _iscustoms = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isinspection = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 报检
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISINSPECTION
|
|
|
|
|
{
|
|
|
|
|
get{ return _isinspection; }
|
|
|
|
|
set{ _isinspection = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isbooking = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISBOOKING
|
|
|
|
|
{
|
|
|
|
|
get{ return _isbooking; }
|
|
|
|
|
set{ _isbooking = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isagent = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 使用代理
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISAGENT
|
|
|
|
|
{
|
|
|
|
|
get{ return _isagent; }
|
|
|
|
|
set{ _isagent = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _ishblno = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分单签单
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISHBLNO
|
|
|
|
|
{
|
|
|
|
|
get{ return _ishblno; }
|
|
|
|
|
set{ _ishblno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _service9 = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 服务项目9
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool SERVICE9
|
|
|
|
|
{
|
|
|
|
|
get{ return _service9; }
|
|
|
|
|
set{ _service9 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _service10 = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 服务项目10
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool SERVICE10
|
|
|
|
|
{
|
|
|
|
|
get{ return _service10; }
|
|
|
|
|
set{ _service10 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _warehouse = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 仓库
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string WAREHOUSE
|
|
|
|
|
{
|
|
|
|
|
get { return _warehouse; }
|
|
|
|
|
set { _warehouse = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _mblfrt = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// MBL付费方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MBLFRT
|
|
|
|
|
{
|
|
|
|
|
get{ return _mblfrt; }
|
|
|
|
|
set{ _mblfrt = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _placereceiptid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收货地代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PLACERECEIPTID
|
|
|
|
|
{
|
|
|
|
|
get{ return _placereceiptid; }
|
|
|
|
|
set{ _placereceiptid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _issueplaceid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提单签发地代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ISSUEPLACEID
|
|
|
|
|
{
|
|
|
|
|
get{ return _issueplaceid; }
|
|
|
|
|
set{ _issueplaceid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _hscode = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// HS编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string HSCODE
|
|
|
|
|
{
|
|
|
|
|
get { return _hscode; }
|
|
|
|
|
set { _hscode = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _SHIPAGENCY = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船代
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SHIPAGENCY
|
|
|
|
|
{
|
|
|
|
|
get { return _SHIPAGENCY; }
|
|
|
|
|
set { _SHIPAGENCY = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsOpSeaeTemplate()
|
|
|
|
|
{
|
|
|
|
|
TableName = "op_seae_template";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "BSNO";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
}
|