You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/Areas/MvcShipping/Models/MsOpCtnStatus/MsCtn.cs

231 lines
5.1 KiB
C#

3 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsOpCtnStatus
{
[JsonObject]
public class MsCtn : ModelObjectBillHead
{
#region 读写属性
private int _cntrid =0;
/// <summary>
/// 编号
/// </summary>
public int cntrid
{
get { return _cntrid; }
set { _cntrid = value; }
}
private string _cntrno = "";
/// <summary>
/// 箱号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string cntrno
{
get { return _cntrno; }
set { _cntrno = value; }
}
private string _cntrowner = "";
/// <summary>
/// 箱主
/// </summary>
[ModelDB]
public string cntrowner
{
get { return _cntrowner; }
set { _cntrowner = value; }
}
[ModelDB]
public string gid { get; set; }
[ModelDB]
public string selltime { get; set; }
private string _cntype = "";
/// <summary>
/// 箱型
/// </summary>
[ModelDB]
public string cntype
{
get { return _cntype; }
set { _cntype = value; }
}
private string _cnsource = "";
/// <summary>
/// 箱源
/// </summary>
[ModelDB]
public string cnsource
{
get { return _cnsource; }
set { _cnsource = value; }
}
private string _buytime;
/// <summary>
/// 购买时间
/// </summary>
[ModelDB]
public string buytime
{
get { return _buytime; }
set { _buytime = value; }
}
private string _rent_begintime;
/// <summary>
/// 开始时间
/// </summary>
[ModelDB]
public string rent_begintime
{
get { return _rent_begintime; }
set { _rent_begintime = value; }
}
private string _rent_endtime;
/// <summary>
/// 结束时间
/// </summary>
[ModelDB]
public string rent_endtime
{
get { return _rent_endtime; }
set { _rent_endtime = value; }
}
private int? _status = 0;
/// <summary>
/// 状态
/// </summary>
[ModelDB]
public int? status
{
get { return _status; }
set { _status = value; }
}
private string _statusref = "";
public string statusref
{
get { return _statusref; }
set { _statusref = value; }
}
private string _position="";
/// <summary>
/// 地点
/// </summary>
[ModelDB]
public string position
{
get { return _position; }
set { _position = value; }
}
private string _positioncname = "";
public string positioncname
{
get { return _positioncname; }
set { _positioncname = value; }
}
private string _positionname = "";
/// <summary>
/// 地点名称
/// </summary>
[ModelDB]
public string positionname
{
get { return _positionname; }
set { _positionname = value; }
}
private string _remark = "";
/// <summary>
/// 备注
/// </summary>
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
private string _vessel = "";
/// <summary>
/// 船名
/// </summary>
[ModelDB]
public string vessel
{
get { return _vessel; }
set { _vessel = value; }
}
private string _voyage = "";
/// <summary>
/// 航次
/// </summary>
[ModelDB]
public string voyage
{
get { return _voyage; }
set { _voyage = value; }
}
[ModelDB]
public DateTime? buy { get; set; }
[ModelDB]
public DateTime? rents { get; set; }
[ModelDB]
public DateTime? rente { get; set; }
[ModelDB]
public DateTime? sell { get; set; }
private string _beginpostion = "";
/// <summary>
/// 启用地点
/// </summary>
[ModelDB]
public string beginpostion
{
get { return _beginpostion; }
set { _beginpostion = value; }
}
private string _beginpostionref = "";
/// <summary>
/// 启用地点
/// </summary>
public string beginpostionref
{
get { return _beginpostionref; }
set { _beginpostionref = value; }
}
#endregion
public MsCtn()
{
TableName = "container_info";
}
}
#region 参照部分
public class MsOpSeaiDetailRefMsOpSeai
{
public string BSNO { get; set; }
}
#endregion
}