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();//业务编号
///
/// 业务唯一编号
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string BSNO
{
get { return _BSNO; }
set { _BSNO = value; }
}
public string LISTSTATUS{ get; set; }
private string _MASTERNO = "";
///
/// MASTERNO
///
[ModelDB]
public string MASTERNO
{
get { return _MASTERNO; }
set { _MASTERNO = value; }
}
private string _BSSTATUS= "";
///
/// 业务状态
///
[ModelDB]
public string BSSTATUS
{
get { return _BSSTATUS; }
set { _BSSTATUS = value; }
}
private string _mblno = "";
///
/// 主提单号(可以根据规则生成)
///
[ModelDB]
public string MBLNO
{
get { return _mblno; }
set { _mblno = value; }
}
private string _contractno = "";
///
/// 合同号
///
[ModelDB]
public string CONTRACTNO
{
get { return _contractno; }
set { _contractno = value; }
}
private string _customername = "";
///
/// 委托单位
///
[ModelDB]
public string CUSTOMERNAME
{
get { return _customername; }
set { _customername = value; }
}
private string _op = "";
///
/// 操作员
///
[ModelDB]
public string OP
{
get { return _op; }
set { _op = value; }
}
private string _vessel = "";
///
/// 运输工具(例:船名)
///
[ModelDB]
public string VESSEL
{
get { return _vessel; }
set { _vessel = value; }
}
private string _voyno = "";
///
/// 班次号(例:航次)
///
[ModelDB]
public string VOYNO
{
get { return _voyno; }
set { _voyno = value; }
}
private string _etd;
///
/// 业务日期(到港/开船日期)
///
[ModelDB]
public string ETD
{
get { return _etd; }
set { _etd = value; }
}
private string _portloadid = "";
///
/// 装货地
///
[ModelDB]
public string PORTLOADID
{
get { return _portloadid; }
set { _portloadid = value; }
}
private string _portload = "";
///
/// 装货地
///
[ModelDB]
public string PORTLOAD
{
get { return _portload; }
set { _portload = value; }
}
private string _portdischargeid = "";
///
/// 卸货地
///
[ModelDB]
public string PORTDISCHARGEID
{
get { return _portdischargeid; }
set { _portdischargeid = value; }
}
private string _portdischarge = "";
///
/// 卸货地
///
[ModelDB]
public string PORTDISCHARGE
{
get { return _portdischarge; }
set { _portdischarge = value; }
}
private string _lane = "";
///
/// 航线
///
[ModelDB]
public string LANE
{
get { return _lane; }
set { _lane = value; }
}
private string _carrier = "";
///
/// 船公司
///
[ModelDB]
public string CARRIER
{
get { return _carrier; }
set { _carrier = value; }
}
private string _forwarder = "";
///
/// 订舱公司
///
[ModelDB]
public string FORWARDER
{
get { return _forwarder; }
set { _forwarder = value; }
}
private string _remark = "";
///
/// 备注
///
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
private string _createuser = "";
///
/// 创建人
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CREATEUSER
{
get { return _createuser; }
set { _createuser = value; }
}
public string CREATEUSERREF { get; set; }
private DateTime _createtime = DateTime.Now;
///
/// 创建时间
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public DateTime CREATETIME
{
get { return _createtime; }
set { _createtime = value; }
}
private string _modifieduser = "";
///
/// 最后一次操作人
///
[ModelDB]
public string MODIFIEDUSER
{
get { return _modifieduser; }
set { _modifieduser = value; }
}
public string MODIFIEDUSERREF { get; set; }
private DateTime _modifiedtime = DateTime.Now;
///
/// 最后一次操作时间
///
[ModelDB]
public DateTime MODIFIEDTIME
{
get { return _modifiedtime; }
set { _modifiedtime = value; }
}
private string _closingdate="";
///
/// 截港日期
///
[ModelDB]
public string CLOSINGDATE
{
get { return _closingdate; }
set { _closingdate = value; }
}
private string _closedocdate="";
///
/// 截单日期
///
[ModelDB]
public string CLOSEDOCDATE
{
get { return _closedocdate; }
set { _closedocdate = value; }
}
private int _cntr1 = 0;
///
/// 箱型1
///
[ModelDB]
public int CNTR1
{
get { return _cntr1; }
set { _cntr1 = value; }
}
private int _cntr2 = 0;
///
/// 箱型2
///
[ModelDB]
public int CNTR2
{
get { return _cntr2; }
set { _cntr2 = value; }
}
private int _cntr3 = 0;
///
/// 箱型3
///
[ModelDB]
public int CNTR3
{
get { return _cntr3; }
set { _cntr3 = value; }
}
private int _cntr4 = 0;
///
/// 箱型4
///
[ModelDB]
public int CNTR4
{
get { return _cntr4; }
set { _cntr4 = value; }
}
private int _cntr5 = 0;
///
/// 箱型5
///
[ModelDB]
public int CNTR5
{
get { return _cntr5; }
set { _cntr5 = value; }
}
private int _cntr6 = 0;
///
/// 箱型6
///
[ModelDB]
public int CNTR6
{
get { return _cntr6; }
set { _cntr6 = value; }
}
private int _cntr7 = 0;
///
/// 箱型7
///
[ModelDB]
public int CNTR7
{
get { return _cntr7; }
set { _cntr7 = value; }
}
private int _cntr8 = 0;
///
/// 箱型8
///
[ModelDB]
public int CNTR8
{
get { return _cntr8; }
set { _cntr8 = value; }
}
private int _cntr9 = 0;
///
/// 箱型9
///
[ModelDB]
public int CNTR9
{
get { return _cntr9; }
set { _cntr9 = value; }
}
private int _cntr10 = 0;
///
/// 箱型10
///
[ModelDB]
public int CNTR10
{
get { return _cntr10; }
set { _cntr10 = value; }
}
private int _otcntr = 0;
///
/// 其他箱型
///
[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();//业务编号
///
/// 业务唯一编号
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string BSNO
{
get { return _BSNO; }
set { _BSNO = value; }
}
private string _MASTERNO = "";
///
/// MASTERNO
///
[ModelDB]
public string MASTERNO
{
get { return _MASTERNO; }
set { _MASTERNO = value; }
}
private string _LOSTNO = "";
///
/// MASTERNO
///
[ModelDB]
public string LOSTNO
{
get { return _LOSTNO; }
set { _LOSTNO = value; }
}
private int _TYPE =0;
///
///
///
[ModelDB]
public int TYPE
{
get { return _TYPE; }
set { _TYPE = value; }
}
private string _BSSTATUS = "";
///
/// 业务状态
///
[ModelDB]
public string BSSTATUS
{
get { return _BSSTATUS; }
set { _BSSTATUS = value; }
}
private string _mblno = "";
///
/// 主提单号(可以根据规则生成)
///
[ModelDB]
public string MBLNO
{
get { return _mblno; }
set { _mblno = value; }
}
private string _contractno = "";
///
/// 合同号
///
[ModelDB]
public string CONTRACTNO
{
get { return _contractno; }
set { _contractno = value; }
}
private string _customername = "";
///
/// 委托单位
///
[ModelDB]
public string CUSTOMERNAME
{
get { return _customername; }
set { _customername = value; }
}
private string _op = "";
///
/// 操作员
///
[ModelDB]
public string OP
{
get { return _op; }
set { _op = value; }
}
private string _vessel = "";
///
/// 运输工具(例:船名)
///
[ModelDB]
public string VESSEL
{
get { return _vessel; }
set { _vessel = value; }
}
private string _voyno = "";
///
/// 班次号(例:航次)
///
[ModelDB]
public string VOYNO
{
get { return _voyno; }
set { _voyno = value; }
}
private string _etd;
///
/// 业务日期(到港/开船日期)
///
[ModelDB]
public string ETD
{
get { return _etd; }
set { _etd = value; }
}
private string _portloadid = "";
///
/// 装货地
///
[ModelDB]
public string PORTLOADID
{
get { return _portloadid; }
set { _portloadid = value; }
}
private string _portload = "";
///
/// 装货地
///
[ModelDB]
public string PORTLOAD
{
get { return _portload; }
set { _portload = value; }
}
private string _portdischargeid = "";
///
/// 卸货地
///
[ModelDB]
public string PORTDISCHARGEID
{
get { return _portdischargeid; }
set { _portdischargeid = value; }
}
private string _portdischarge = "";
///
/// 卸货地
///
[ModelDB]
public string PORTDISCHARGE
{
get { return _portdischarge; }
set { _portdischarge = value; }
}
private string _lane = "";
///
/// 航线
///
[ModelDB]
public string LANE
{
get { return _lane; }
set { _lane = value; }
}
private string _carrier = "";
///
/// 船公司
///
[ModelDB]
public string CARRIER
{
get { return _carrier; }
set { _carrier = value; }
}
private string _forwarder = "";
///
/// 订舱公司
///
[ModelDB]
public string FORWARDER
{
get { return _forwarder; }
set { _forwarder = value; }
}
private string _remark = "";
///
/// 备注
///
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
private string _createuser = "";
///
/// 创建人
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CREATEUSER
{
get { return _createuser; }
set { _createuser = value; }
}
public string CREATEUSERREF { get; set; }
private DateTime _createtime = DateTime.Now;
///
/// 创建时间
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public DateTime CREATETIME
{
get { return _createtime; }
set { _createtime = value; }
}
private string _modifieduser = "";
///
/// 最后一次操作人
///
[ModelDB]
public string MODIFIEDUSER
{
get { return _modifieduser; }
set { _modifieduser = value; }
}
public string MODIFIEDUSERREF { get; set; }
private DateTime _modifiedtime = DateTime.Now;
///
/// 最后一次操作时间
///
[ModelDB]
public DateTime MODIFIEDTIME
{
get { return _modifiedtime; }
set { _modifiedtime = value; }
}
private string _closingdate;
///
/// 截港日期
///
[ModelDB]
public string CLOSINGDATE
{
get { return _closingdate; }
set { _closingdate = value; }
}
private string _closedocdate;
///
/// 截单日期
///
[ModelDB]
public string CLOSEDOCDATE
{
get { return _closedocdate; }
set { _closedocdate = value; }
}
private int _cntr1 = 0;
///
/// 箱型1
///
[ModelDB]
public int CNTR1
{
get { return _cntr1; }
set { _cntr1 = value; }
}
private int _cntr2 = 0;
///
/// 箱型2
///
[ModelDB]
public int CNTR2
{
get { return _cntr2; }
set { _cntr2 = value; }
}
private int _cntr3 = 0;
///
/// 箱型3
///
[ModelDB]
public int CNTR3
{
get { return _cntr3; }
set { _cntr3 = value; }
}
private int _cntr4 = 0;
///
/// 箱型4
///
[ModelDB]
public int CNTR4
{
get { return _cntr4; }
set { _cntr4 = value; }
}
private int _cntr5 = 0;
///
/// 箱型5
///
[ModelDB]
public int CNTR5
{
get { return _cntr5; }
set { _cntr5 = value; }
}
private int _cntr6 = 0;
///
/// 箱型6
///
[ModelDB]
public int CNTR6
{
get { return _cntr6; }
set { _cntr6 = value; }
}
private int _cntr7 = 0;
///
/// 箱型7
///
[ModelDB]
public int CNTR7
{
get { return _cntr7; }
set { _cntr7 = value; }
}
private int _cntr8 = 0;
///
/// 箱型8
///
[ModelDB]
public int CNTR8
{
get { return _cntr8; }
set { _cntr8 = value; }
}
private int _cntr9 = 0;
///
/// 箱型9
///
[ModelDB]
public int CNTR9
{
get { return _cntr9; }
set { _cntr9 = value; }
}
private int _cntr10 = 0;
///
/// 箱型10
///
[ModelDB]
public int CNTR10
{
get { return _cntr10; }
set { _cntr10 = value; }
}
private int _otcntr = 0;
///
/// 其他箱型
///
[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";
}
}
}