|
|
|
using DS.Module.Core;
|
|
|
|
using DS.Module.Core.Data;
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
namespace DS.WMS.ContainerManagement.Info.Entity;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 集装箱当前状态
|
|
|
|
/// </summary>
|
|
|
|
[SqlSugar.SugarTable("CM_CurrentState", "箱管_当前状态")]
|
|
|
|
public class CM_CurrentState : BaseOrgModel<long>
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:集装箱号
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "集装箱号", IsNullable = false, Length = 20)]
|
|
|
|
public string Cntrno { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:箱型
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "箱型", IsNullable = false, Length = 20)]
|
|
|
|
public string Ctnall { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:新旧箱 空白/used/new
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "新旧箱", IsNullable = true, Length = 20)]
|
|
|
|
public string UsedState { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:箱主
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "箱主", IsNullable = true, Length = 50)]
|
|
|
|
public string CtnOwner { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:业务所属分部
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "业务所属分部", IsNullable = true, Length = 50)]
|
|
|
|
public string Corpid { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:箱来源: 自有箱/短租租入/长租租入/买箱
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "箱来源", IsNullable = true, Length = 20)]
|
|
|
|
public string CtnSource { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:箱业务状态: 短租租出 长租租出 单程 卖箱
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "箱业务状态", IsNullable = true, DefaultValue = "")]
|
|
|
|
public string CtnBizState { get; set; } = "0";
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:箱业务编号:当前
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "箱业务编号", IsNullable = true, Length = 50)]
|
|
|
|
public string Billno { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:关联放箱单号
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "关联放箱单号", IsNullable = true, Length = 50)]
|
|
|
|
public string CtnReleaseNo { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:箱状态
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "箱状态", IsNullable = true, Length = 20)]
|
|
|
|
public string CtnState { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:箱损坏/维修状态
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "箱损坏/维修状态", IsNullable = true, Length = 20)]
|
|
|
|
public string CtnBreakState { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:是否上线(是否管理中)
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "是否上线", IsNullable = true, DefaultValue = "0")]
|
|
|
|
public Int16? IsOnline { get; set; } = 0;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:空重箱
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "空重箱", IsNullable = true, DefaultValue = "0")]
|
|
|
|
public bool? IsHeavy { get; set; } = false;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:当前港口
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "当前港口", IsNullable = true, Length = 50)]
|
|
|
|
public string Portid { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:码头或场站
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "码头或场站", IsNullable = true, Length = 50)]
|
|
|
|
public string Depot { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:运输工具
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "运输工具", IsNullable = true, Length = 50)]
|
|
|
|
public string VehicleName { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:当前业务编号
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "当前业务编号", IsNullable = true, Length = 50)]
|
|
|
|
public string Mblno { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:业务委托单位
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "业务委托单位", IsNullable = true, Length = 50)]
|
|
|
|
public string CustomerName { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:ETD
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "ETD", IsNullable = true)]
|
|
|
|
public DateTime? ETD { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:ETD
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "ETA", IsNullable = true)]
|
|
|
|
public DateTime? ETA { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Desc:状态时间
|
|
|
|
/// </summary>
|
|
|
|
[SugarColumn(ColumnDescription = "状态时间", IsNullable = true)]
|
|
|
|
public DateTime? StateTime { get; set; }
|
|
|
|
|
|
|
|
}
|
|
|
|
|