|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsOpSocCtn
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsOpSocCtnContract : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 属性
|
|
|
|
|
private string _BSNO = "topsoc" + Guid.NewGuid().ToString();//业务编号
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务唯一编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string BSNO
|
|
|
|
|
{
|
|
|
|
|
get { return _BSNO; }
|
|
|
|
|
set { _BSNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _BSSTATUS = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务状态(接受委托false、业务封帐true,和code_state 中的状态)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BSSTATUS
|
|
|
|
|
{
|
|
|
|
|
get { return _BSSTATUS; }
|
|
|
|
|
set { _BSSTATUS = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _CONTRACTNO = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 委托编号(可以根据规则生成)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CONTRACTNO
|
|
|
|
|
{
|
|
|
|
|
get { return _CONTRACTNO; }
|
|
|
|
|
set { _CONTRACTNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _CONTRACTDATE = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CONTRACTDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _CONTRACTDATE; }
|
|
|
|
|
set { _CONTRACTDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _customername = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 委托单位
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CUSTOMERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _customername; }
|
|
|
|
|
set { _customername = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _customerattn = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 委托单位
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CUSTOMERATTN
|
|
|
|
|
{
|
|
|
|
|
get { return _customerattn; }
|
|
|
|
|
set { _customerattn = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _customertel = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 委托单位
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CUSTOMERTEL
|
|
|
|
|
{
|
|
|
|
|
get { return _customertel; }
|
|
|
|
|
set { _customertel = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _CLOSEDOCDATE;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务日期(到港/开船日期)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CLOSEDOCDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _CLOSEDOCDATE; }
|
|
|
|
|
set { _CLOSEDOCDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _CLOSEFEEDATE;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务日期(到港/开船日期)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CLOSEFEEDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _CLOSEFEEDATE; }
|
|
|
|
|
set { _CLOSEFEEDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _portload = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 装货地
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PORTLOAD
|
|
|
|
|
{
|
|
|
|
|
get { return _portload; }
|
|
|
|
|
set { _portload = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _portdischarge = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 卸货地
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PORTDISCHARGE
|
|
|
|
|
{
|
|
|
|
|
get { return _portdischarge; }
|
|
|
|
|
set { _portdischarge = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _DEPOSIT = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal DEPOSIT
|
|
|
|
|
{
|
|
|
|
|
get { return _DEPOSIT; }
|
|
|
|
|
set { _DEPOSIT = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _RENT = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal RENT
|
|
|
|
|
{
|
|
|
|
|
get { return _RENT; }
|
|
|
|
|
set { _RENT = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _RETURNDEPOSITDATE;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务日期(到港/开船日期)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string RETURNDEPOSITDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _RETURNDEPOSITDATE; }
|
|
|
|
|
set { _RETURNDEPOSITDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _corpid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分公司代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string CORPID
|
|
|
|
|
{
|
|
|
|
|
get { return _corpid; }
|
|
|
|
|
set { _corpid = 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; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _createtime =null;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string CREATETIME
|
|
|
|
|
{
|
|
|
|
|
get { return _createtime; }
|
|
|
|
|
set { _createtime = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _modifieduser = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次操作人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MODIFIEDUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _modifieduser; }
|
|
|
|
|
set { _modifieduser = value; }
|
|
|
|
|
}
|
|
|
|
|
public string CREATEUSERREF { get; set; }
|
|
|
|
|
public string MODIFIEDUSERREF { get; set; }
|
|
|
|
|
public string CNTRTOTAL { get; set; }
|
|
|
|
|
public Int32 LOADCTNCOUNT { get; set; }
|
|
|
|
|
|
|
|
|
|
private string _modifiedtime =null;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次操作时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MODIFIEDTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _modifiedtime; }
|
|
|
|
|
set { _modifiedtime = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsOpSocCtnContract()
|
|
|
|
|
{
|
|
|
|
|
TableName = "op_socctn_contract";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "BSNO";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsOpSocCtnCtn : ModelObjectBillBody
|
|
|
|
|
{
|
|
|
|
|
#region 读写属性
|
|
|
|
|
private string _ctn_id = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string CTN_ID
|
|
|
|
|
{
|
|
|
|
|
get { return _ctn_id; }
|
|
|
|
|
set { _ctn_id = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _BSNO = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string BSNO
|
|
|
|
|
{
|
|
|
|
|
get { return _BSNO; }
|
|
|
|
|
set { _BSNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _ctnnum = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CTNNUM
|
|
|
|
|
{
|
|
|
|
|
get { return _ctnnum; }
|
|
|
|
|
set { _ctnnum = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _ctnall = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 表现形式
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CTNALL
|
|
|
|
|
{
|
|
|
|
|
get { return _ctnall; }
|
|
|
|
|
set { _ctnall = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private decimal _DEPOSITPRICE = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal DEPOSITPRICE
|
|
|
|
|
{
|
|
|
|
|
get { return _DEPOSITPRICE; }
|
|
|
|
|
set { _DEPOSITPRICE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _DEPOSIT = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal DEPOSIT
|
|
|
|
|
{
|
|
|
|
|
get { return _DEPOSIT; }
|
|
|
|
|
set { _DEPOSIT = 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; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _createtime=null;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string CREATETIME
|
|
|
|
|
{
|
|
|
|
|
get { return _createtime; }
|
|
|
|
|
set { _createtime = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _modifieduser = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次操作人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MODIFIEDUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _modifieduser; }
|
|
|
|
|
set { _modifieduser = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _modifiedtime = null;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次操作时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MODIFIEDTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _modifiedtime; }
|
|
|
|
|
set { _modifiedtime = value; }
|
|
|
|
|
}
|
|
|
|
|
public string CREATEUSERREF { get; set; }
|
|
|
|
|
public string MODIFIEDUSERREF { get; set; }
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsOpSocCtnCtn()
|
|
|
|
|
{
|
|
|
|
|
TableName = "op_socctn_ctn";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsOpSocCtnCtnDetail : ModelObjectBillBody
|
|
|
|
|
{
|
|
|
|
|
#region 读写属性
|
|
|
|
|
|
|
|
|
|
private string _CTNGID = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string CTNGID
|
|
|
|
|
{
|
|
|
|
|
get { return _CTNGID; }
|
|
|
|
|
set { _CTNGID = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _ctn_id = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string CTN_ID
|
|
|
|
|
{
|
|
|
|
|
get { return _ctn_id; }
|
|
|
|
|
set { _ctn_id = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _BSNO = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string BSNO
|
|
|
|
|
{
|
|
|
|
|
get { return _BSNO; }
|
|
|
|
|
set { _BSNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ctnall = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 表现形式
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CTNALL
|
|
|
|
|
{
|
|
|
|
|
get { return _ctnall; }
|
|
|
|
|
set { _ctnall = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _cntrno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CNTRNO
|
|
|
|
|
{
|
|
|
|
|
get { return _cntrno; }
|
|
|
|
|
set { _cntrno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _remark = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARK
|
|
|
|
|
{
|
|
|
|
|
get { return _remark; }
|
|
|
|
|
set { _remark = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _CTNSTATUS = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// KINDPKGS
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CTNSTATUS
|
|
|
|
|
{
|
|
|
|
|
get { return _CTNSTATUS; }
|
|
|
|
|
set { _CTNSTATUS = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _INPUTYARDDATE = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// INPUTYARDDATE
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string INPUTYARDDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _INPUTYARDDATE; }
|
|
|
|
|
set { _INPUTYARDDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _OUTYARDDATE = "";
|
|
|
|
|
|
|
|
|
|
public string OUTYARDDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _OUTYARDDATE; }
|
|
|
|
|
set { _OUTYARDDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _YARD = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string YARD
|
|
|
|
|
{
|
|
|
|
|
get { return _YARD; }
|
|
|
|
|
set { _YARD = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _RTCTNDATE = "";
|
|
|
|
|
|
|
|
|
|
public string RTCTNDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _RTCTNDATE; }
|
|
|
|
|
set { _RTCTNDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _RTCTNYARD = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string RTCTNYARD
|
|
|
|
|
{
|
|
|
|
|
get { return _RTCTNYARD; }
|
|
|
|
|
set { _RTCTNYARD = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private decimal _DEPOSITPRICE = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal DEPOSITPRICE
|
|
|
|
|
{
|
|
|
|
|
get { return _DEPOSITPRICE; }
|
|
|
|
|
set { _DEPOSITPRICE = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _createuser = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string CREATEUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _createuser; }
|
|
|
|
|
set { _createuser = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _createtime =null;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string CREATETIME
|
|
|
|
|
{
|
|
|
|
|
get { return _createtime; }
|
|
|
|
|
set { _createtime = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _modifieduser = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次操作人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MODIFIEDUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _modifieduser; }
|
|
|
|
|
set { _modifieduser = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _modifiedtime =null;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次操作时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MODIFIEDTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _modifiedtime; }
|
|
|
|
|
set { _modifiedtime = value; }
|
|
|
|
|
}
|
|
|
|
|
public string CREATEUSERREF { get; set; }
|
|
|
|
|
public string MODIFIEDUSERREF { get; set; }
|
|
|
|
|
public string CONTRACTNO { get; set; }
|
|
|
|
|
public string PORTDISCHARGE { get; set; }
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsOpSocCtnCtnDetail()
|
|
|
|
|
{
|
|
|
|
|
TableName = "op_socctn_ctndetail";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsOpSocCtnBs : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 属性
|
|
|
|
|
private string _BSNO = "socbs" + Guid.NewGuid().ToString();//业务编号
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务唯一编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string BSNO
|
|
|
|
|
{
|
|
|
|
|
get { return _BSNO; }
|
|
|
|
|
set { _BSNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _BSSTATUS = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务状态(接受委托false、业务封帐true,和code_state 中的状态)
|
|
|
|
|
/// </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 _ETD = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ETD
|
|
|
|
|
{
|
|
|
|
|
get { return _ETD; }
|
|
|
|
|
set { _ETD = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _VESSEL;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string VESSEL
|
|
|
|
|
{
|
|
|
|
|
get { return _VESSEL; }
|
|
|
|
|
set { _VESSEL = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _VOYNO;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VOYNO
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string VOYNO
|
|
|
|
|
{
|
|
|
|
|
get { return _VOYNO; }
|
|
|
|
|
set { _VOYNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _portload = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 装货地
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PORTLOAD
|
|
|
|
|
{
|
|
|
|
|
get { return _portload; }
|
|
|
|
|
set { _portload = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _portdischarge = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 卸货地
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PORTDISCHARGE
|
|
|
|
|
{
|
|
|
|
|
get { return _portdischarge; }
|
|
|
|
|
set { _portdischarge = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _TRANSPORT = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 卸货地
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string TRANSPORT
|
|
|
|
|
{
|
|
|
|
|
get { return _TRANSPORT; }
|
|
|
|
|
set { _TRANSPORT = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _ETA = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ETA
|
|
|
|
|
{
|
|
|
|
|
get { return _ETA; }
|
|
|
|
|
set { _ETA = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _AGENT = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 卸货地
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string AGENT
|
|
|
|
|
{
|
|
|
|
|
get { return _AGENT; }
|
|
|
|
|
set { _AGENT = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _RTCTNDATE;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string RTCTNDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _RTCTNDATE; }
|
|
|
|
|
set { _RTCTNDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _RTCTNYARD;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务日期(到港/开船日期)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string RTCTNYARD
|
|
|
|
|
{
|
|
|
|
|
get { return _RTCTNYARD; }
|
|
|
|
|
set { _RTCTNYARD = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _corpid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分公司代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string CORPID
|
|
|
|
|
{
|
|
|
|
|
get { return _corpid; }
|
|
|
|
|
set { _corpid = 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; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _createtime =null;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string CREATETIME
|
|
|
|
|
{
|
|
|
|
|
get { return _createtime; }
|
|
|
|
|
set { _createtime = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _modifieduser = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次操作人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MODIFIEDUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _modifieduser; }
|
|
|
|
|
set { _modifieduser = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _modifiedtime =null;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次操作时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MODIFIEDTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _modifiedtime; }
|
|
|
|
|
set { _modifiedtime = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string CREATEUSERREF { get; set; }
|
|
|
|
|
public string MODIFIEDUSERREF { get; set; }
|
|
|
|
|
|
|
|
|
|
public string CNTRTOTAL { get; set; }
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsOpSocCtnBs()
|
|
|
|
|
{
|
|
|
|
|
TableName = "op_socctn_bs";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "BSNO";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|