|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsOpSeaePre
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsOpSeaePre : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 属性
|
|
|
|
|
private string _BSNO = "topseaepre" + Guid.NewGuid().ToString();//业务编号
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务唯一编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string BSNO
|
|
|
|
|
{
|
|
|
|
|
get { return _BSNO; }
|
|
|
|
|
set { _BSNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string LISTSTATUS{ get; set; }
|
|
|
|
|
|
|
|
|
|
private string _MASTERNO = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// MASTERNO
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MASTERNO
|
|
|
|
|
{
|
|
|
|
|
get { return _MASTERNO; }
|
|
|
|
|
set { _MASTERNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _BSSTATUS= "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BSSTATUS
|
|
|
|
|
{
|
|
|
|
|
get { return _BSSTATUS; }
|
|
|
|
|
set { _BSSTATUS = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _mblno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主提单号(可以根据规则生成)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MBLNO
|
|
|
|
|
{
|
|
|
|
|
get { return _mblno; }
|
|
|
|
|
set { _mblno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _contractno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 合同号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CONTRACTNO
|
|
|
|
|
{
|
|
|
|
|
get { return _contractno; }
|
|
|
|
|
set { _contractno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _customername = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 委托单位
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CUSTOMERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _customername; }
|
|
|
|
|
set { _customername = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _op = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 操作员
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string OP
|
|
|
|
|
{
|
|
|
|
|
get { return _op; }
|
|
|
|
|
set { _op = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _vessel = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 运输工具(例:船名)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string VESSEL
|
|
|
|
|
{
|
|
|
|
|
get { return _vessel; }
|
|
|
|
|
set { _vessel = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _voyno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 班次号(例:航次)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string VOYNO
|
|
|
|
|
{
|
|
|
|
|
get { return _voyno; }
|
|
|
|
|
set { _voyno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _etd;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务日期(到港/开船日期)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ETD
|
|
|
|
|
{
|
|
|
|
|
get { return _etd; }
|
|
|
|
|
set { _etd = 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 _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 _remark = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARK
|
|
|
|
|
{
|
|
|
|
|
get { return _remark; }
|
|
|
|
|
set { _remark = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _createuser = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string CREATEUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _createuser; }
|
|
|
|
|
set { _createuser = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string CREATEUSERREF { get; set; }
|
|
|
|
|
|
|
|
|
|
private DateTime _createtime = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public DateTime CREATETIME
|
|
|
|
|
{
|
|
|
|
|
get { return _createtime; }
|
|
|
|
|
set { _createtime = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _modifieduser = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次操作人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MODIFIEDUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _modifieduser; }
|
|
|
|
|
set { _modifieduser = value; }
|
|
|
|
|
}
|
|
|
|
|
public string MODIFIEDUSERREF { get; set; }
|
|
|
|
|
|
|
|
|
|
private DateTime _modifiedtime = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次操作时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public DateTime MODIFIEDTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _modifiedtime; }
|
|
|
|
|
set { _modifiedtime = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _closingdate="";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 截港日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CLOSINGDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _closingdate; }
|
|
|
|
|
set { _closingdate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _closedocdate="";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 截单日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CLOSEDOCDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _closedocdate; }
|
|
|
|
|
set { _closedocdate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr1 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型1
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR1
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr1; }
|
|
|
|
|
set { _cntr1 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr2 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型2
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR2
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr2; }
|
|
|
|
|
set { _cntr2 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr3 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型3
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR3
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr3; }
|
|
|
|
|
set { _cntr3 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr4 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型4
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR4
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr4; }
|
|
|
|
|
set { _cntr4 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr5 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型5
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR5
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr5; }
|
|
|
|
|
set { _cntr5 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr6 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型6
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR6
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr6; }
|
|
|
|
|
set { _cntr6 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr7 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型7
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR7
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr7; }
|
|
|
|
|
set { _cntr7 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr8 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型8
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR8
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr8; }
|
|
|
|
|
set { _cntr8 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr9 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型9
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR9
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr9; }
|
|
|
|
|
set { _cntr9 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr10 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型10
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR10
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr10; }
|
|
|
|
|
set { _cntr10 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _otcntr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 其他箱型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int OTCNTR
|
|
|
|
|
{
|
|
|
|
|
get { return _otcntr; }
|
|
|
|
|
set { _otcntr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _CNTRTOTAL;
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CNTRTOTAL
|
|
|
|
|
{
|
|
|
|
|
get { return _CNTRTOTAL; }
|
|
|
|
|
set { _CNTRTOTAL = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public bool BSLOCK { get; set; }
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsOpSeaePre()
|
|
|
|
|
{
|
|
|
|
|
TableName = "op_seae_pre";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "BSNO";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsOpSeaePreHis : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 属性
|
|
|
|
|
private string _BSNO = "topseaepre" + Guid.NewGuid().ToString();//业务编号
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务唯一编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string BSNO
|
|
|
|
|
{
|
|
|
|
|
get { return _BSNO; }
|
|
|
|
|
set { _BSNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _MASTERNO = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// MASTERNO
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MASTERNO
|
|
|
|
|
{
|
|
|
|
|
get { return _MASTERNO; }
|
|
|
|
|
set { _MASTERNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _LOSTNO = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// MASTERNO
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string LOSTNO
|
|
|
|
|
{
|
|
|
|
|
get { return _LOSTNO; }
|
|
|
|
|
set { _LOSTNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _TYPE =0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int TYPE
|
|
|
|
|
{
|
|
|
|
|
get { return _TYPE; }
|
|
|
|
|
set { _TYPE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _BSSTATUS = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BSSTATUS
|
|
|
|
|
{
|
|
|
|
|
get { return _BSSTATUS; }
|
|
|
|
|
set { _BSSTATUS = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _mblno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主提单号(可以根据规则生成)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MBLNO
|
|
|
|
|
{
|
|
|
|
|
get { return _mblno; }
|
|
|
|
|
set { _mblno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _contractno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 合同号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CONTRACTNO
|
|
|
|
|
{
|
|
|
|
|
get { return _contractno; }
|
|
|
|
|
set { _contractno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _customername = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 委托单位
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CUSTOMERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _customername; }
|
|
|
|
|
set { _customername = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _op = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 操作员
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string OP
|
|
|
|
|
{
|
|
|
|
|
get { return _op; }
|
|
|
|
|
set { _op = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _vessel = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 运输工具(例:船名)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string VESSEL
|
|
|
|
|
{
|
|
|
|
|
get { return _vessel; }
|
|
|
|
|
set { _vessel = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _voyno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 班次号(例:航次)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string VOYNO
|
|
|
|
|
{
|
|
|
|
|
get { return _voyno; }
|
|
|
|
|
set { _voyno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _etd;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务日期(到港/开船日期)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ETD
|
|
|
|
|
{
|
|
|
|
|
get { return _etd; }
|
|
|
|
|
set { _etd = 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 _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 _remark = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARK
|
|
|
|
|
{
|
|
|
|
|
get { return _remark; }
|
|
|
|
|
set { _remark = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _createuser = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string CREATEUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _createuser; }
|
|
|
|
|
set { _createuser = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string CREATEUSERREF { get; set; }
|
|
|
|
|
|
|
|
|
|
private DateTime _createtime = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public DateTime CREATETIME
|
|
|
|
|
{
|
|
|
|
|
get { return _createtime; }
|
|
|
|
|
set { _createtime = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _modifieduser = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次操作人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MODIFIEDUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _modifieduser; }
|
|
|
|
|
set { _modifieduser = value; }
|
|
|
|
|
}
|
|
|
|
|
public string MODIFIEDUSERREF { get; set; }
|
|
|
|
|
|
|
|
|
|
private DateTime _modifiedtime = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次操作时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public DateTime MODIFIEDTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _modifiedtime; }
|
|
|
|
|
set { _modifiedtime = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _closingdate;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 截港日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CLOSINGDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _closingdate; }
|
|
|
|
|
set { _closingdate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _closedocdate;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 截单日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CLOSEDOCDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _closedocdate; }
|
|
|
|
|
set { _closedocdate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr1 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型1
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR1
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr1; }
|
|
|
|
|
set { _cntr1 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr2 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型2
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR2
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr2; }
|
|
|
|
|
set { _cntr2 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr3 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型3
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR3
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr3; }
|
|
|
|
|
set { _cntr3 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr4 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型4
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR4
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr4; }
|
|
|
|
|
set { _cntr4 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr5 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型5
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR5
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr5; }
|
|
|
|
|
set { _cntr5 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr6 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型6
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR6
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr6; }
|
|
|
|
|
set { _cntr6 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr7 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型7
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR7
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr7; }
|
|
|
|
|
set { _cntr7 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr8 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型8
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR8
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr8; }
|
|
|
|
|
set { _cntr8 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr9 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型9
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR9
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr9; }
|
|
|
|
|
set { _cntr9 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _cntr10 = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型10
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CNTR10
|
|
|
|
|
{
|
|
|
|
|
get { return _cntr10; }
|
|
|
|
|
set { _cntr10 = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _otcntr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 其他箱型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int OTCNTR
|
|
|
|
|
{
|
|
|
|
|
get { return _otcntr; }
|
|
|
|
|
set { _otcntr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _CNTRTOTAL;
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CNTRTOTAL
|
|
|
|
|
{
|
|
|
|
|
get { return _CNTRTOTAL; }
|
|
|
|
|
set { _CNTRTOTAL = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsOpSeaePreHis()
|
|
|
|
|
{
|
|
|
|
|
TableName = "op_seae_pre_his";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "BSNO";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|