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.
271 lines
8.6 KiB
C#
271 lines
8.6 KiB
C#
using DS.Module.Core;
|
|
using DS.Module.Core.Data;
|
|
using DS.Module.Core.Enums;
|
|
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>
|
|
/// 集装箱基础信息Id
|
|
/// </summary>
|
|
[SqlSugar.SugarColumn(ColumnDescription = "集装箱基础信息Id", IsNullable = false, DefaultValue = "0")]
|
|
public long CtnBaseinfoId { get; set; }
|
|
|
|
///// <summary>
|
|
///// 箱型代码
|
|
///// </summary>
|
|
//[SqlSugar.SugarColumn(ColumnDescription = "箱型代码", Length = 10, IsNullable = true)]
|
|
//public string CtnCode { get; set; }
|
|
///// <summary>
|
|
///// Desc:箱型
|
|
///// </summary>
|
|
//[SugarColumn(ColumnDescription = "箱型", IsNullable = false, Length = 20)]
|
|
//public string Ctnall { get; set; }
|
|
|
|
/// <summary>
|
|
/// 所属机构(公司)
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "所属机构(公司)")]
|
|
public long? OrgId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:新旧箱 空白/used/new
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "新旧箱", IsNullable = true, Length = 20)]
|
|
public string UsedState { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 箱主Id
|
|
/// </summary>
|
|
[SqlSugar.SugarColumn(ColumnDescription = "箱主Id", IsNullable = true, DefaultValue = "0")]
|
|
public long CtnOwnerId { get; set; }
|
|
/// <summary>
|
|
/// Desc:箱主 t_info_client CUSTNAME
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "箱主", IsNullable = true, Length = 50)]
|
|
public string CtnOwner { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// Desc:箱来源Id: 自有箱/短租租入/长租租入/买箱
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "箱来源Id", IsNullable = true, Length = 20)]
|
|
public CM_CtnSourceEnum? CtnSourceId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:箱来源: 自有箱/短租租入/长租租入/买箱
|
|
/// </summary>
|
|
//[SugarColumn(ColumnDescription = "箱来源", IsNullable = true, Length = 20)]
|
|
//public string CtnSource { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:箱业务状态id: 短租租出 长租租出 单程 卖箱
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "箱业务状态Id", IsNullable = true)]
|
|
public CM_CtnBizStateEnum? CtnBizStateId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:箱业务状态: 短租租出 长租租出 单程 卖箱
|
|
/// </summary>
|
|
//[SugarColumn(ColumnDescription = "箱业务状态", IsNullable = true, DefaultValue = "")]
|
|
//public string CtnBizState { get; set; }
|
|
|
|
/// <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:箱状态Id
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "箱状态Id", IsNullable = true)]
|
|
public CMCtnStateEnum? CtnStateId { get; set; }
|
|
/// <summary>
|
|
/// Desc:箱流转状态Id
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "箱流转状态Id", IsNullable = true)]
|
|
public CMCtnFlowStateEnum? CtnFlowStateId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:箱损坏/维修状态
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "箱损坏/维修状态id", IsNullable = true)]
|
|
public CMCtnBreakStateEnum? CtnBreakStateId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:是否上线id(是否管理中)
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "是否上线id", IsNullable = true, DefaultValue = "0")]
|
|
public CM_IsOnlineEnum? IsOnlineId { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// Desc:是否上线(是否管理中)
|
|
/// </summary>
|
|
//[SugarColumn(ColumnDescription = "是否上线", IsNullable = true, Length = 20)]
|
|
//public string IsOnline { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// Desc:空重箱
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "空重箱", IsNullable = true, DefaultValue = "0")]
|
|
public bool? IsHeavy { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// Desc:当前港口代码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "当前港口代码", IsNullable = true)]
|
|
public long? Portid { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:当前港口五字码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "当前港口五字码", IsNullable = true, Length = 10)]
|
|
public string PortCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:当前港口
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "当前港口", IsNullable = true, Length = 60)]
|
|
public string Port { 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 Vessel { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:航次
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "航次", IsNullable = true, Length = 50)]
|
|
public string Voyno { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:当前业务编号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "当前业务编号", IsNullable = true, Length = 50)]
|
|
public string Mblno { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 委托单位Id
|
|
/// </summary>
|
|
[SqlSugar.SugarColumn(ColumnDescription = "委托单位Id", IsNullable = true, DefaultValue = "0")]
|
|
public long CustomerId { get; set; }
|
|
/// <summary>
|
|
/// 业务委托单位 t_info_client CUSTNAME
|
|
/// </summary>
|
|
[SqlSugar.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; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[SqlSugar.SugarColumn(ColumnDescription = "备注", IsNullable = true, Length = 400)]
|
|
public string Remark { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 始发港
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "始发港", IsNullable = true, Length = 60)]
|
|
public string PortLoad { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:始发港代码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "始发港代码", IsNullable = true)]
|
|
public long? PortLoadid { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:始发港五字码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "始发港五字码", IsNullable = true, Length = 10)]
|
|
public string PortLoadCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 目的港
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "目的港", IsNullable = true, Length = 60)]
|
|
public string PortDelivery { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:目的港代码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "目的港代码", IsNullable = true)]
|
|
public long? PortDeliveryid { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:目的港五字码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "目的港五字码", IsNullable = true, Length = 10)]
|
|
public string PortDeliveryCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 预抵港
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "预抵港", IsNullable = true, Length = 60)]
|
|
public string PortDischarge { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:预抵港代码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "预抵港代码", IsNullable = true)]
|
|
public long? PortDischargeid { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:预抵港五字码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "预抵港五字码", IsNullable = true, Length = 10)]
|
|
public string PortDischargeCode { get; set; }
|
|
}
|
|
|