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.

210 lines
6.7 KiB
C#

4 months ago
using DS.Module.Core;
using DS.Module.Core.Data;
4 months ago
using DS.Module.Core.Enums;
4 months ago
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; }
4 months ago
4 months ago
/// <summary>
4 months ago
/// 集装箱基础信息Id
4 months ago
/// </summary>
4 months ago
[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; }
4 months ago
/// <summary>
4 months ago
/// 所属机构(公司)
4 months ago
/// </summary>
4 months ago
[SugarColumn(ColumnDescription = "所属机构(公司)")]
public long? OrgId { get; set; }
4 months ago
/// <summary>
/// Desc:新旧箱 空白/used/new
/// </summary>
[SugarColumn(ColumnDescription = "新旧箱", IsNullable = true, Length = 20)]
public string UsedState { get; set; }
4 months ago
4 months ago
/// <summary>
4 months ago
/// 箱主Id
4 months ago
/// </summary>
4 months ago
[SqlSugar.SugarColumn(ColumnDescription = "箱主Id", IsNullable = true, DefaultValue = "0")]
4 months ago
public long CtnOwnerId { get; set; }
4 months ago
/// <summary>
4 months ago
/// Desc:箱主 t_info_client CUSTNAME
4 months ago
/// </summary>
4 months ago
[SugarColumn(ColumnDescription = "箱主", IsNullable = true, Length = 50)]
public string CtnOwner { get; set; }
4 months ago
4 months ago
/// <summary>
/// Desc:箱来源Id: 自有箱/短租租入/长租租入/买箱
/// </summary>
[SugarColumn(ColumnDescription = "箱来源Id", IsNullable = true, Length = 20)]
public CM_CtnSourceEnum? CtnSourceId { get; set; }
4 months ago
/// <summary>
/// Desc:箱来源: 自有箱/短租租入/长租租入/买箱
/// </summary>
4 months ago
//[SugarColumn(ColumnDescription = "箱来源", IsNullable = true, Length = 20)]
//public string CtnSource { get; set; }
4 months ago
4 months ago
/// <summary>
/// Desc:箱业务状态id: 短租租出 长租租出 单程 卖箱
/// </summary>
[SugarColumn(ColumnDescription = "箱业务状态Id", IsNullable = true)]
public CM_CtnBizStateEnum? CtnBizStateId { get; set; }
4 months ago
/// <summary>
/// Desc:箱业务状态: 短租租出 长租租出 单程 卖箱
/// </summary>
4 months ago
//[SugarColumn(ColumnDescription = "箱业务状态", IsNullable = true, DefaultValue = "")]
//public string CtnBizState { get; set; }
4 months ago
/// <summary>
/// Desc:箱业务编号:当前
/// </summary>
[SugarColumn(ColumnDescription = "箱业务编号", IsNullable = true, Length = 50)]
public string Billno { get; set; }
/// <summary>
/// Desc:关联放箱单号
/// </summary>
4 months ago
[SugarColumn(ColumnDescription = "关联放箱单号", IsNullable = true, Length = 50)]
4 months ago
public string CtnReleaseNo { get; set; }
4 months ago
/// <summary>
/// Desc:箱状态Id
/// </summary>
4 months ago
[SugarColumn(ColumnDescription = "箱状态Id", IsNullable = true)]
4 months ago
public CMCtnStateEnum? CtnStateId { get; set; }
4 months ago
/// <summary>
/// Desc:箱流转状态Id
4 months ago
/// </summary>
[SugarColumn(ColumnDescription = "箱流转状态Id", IsNullable = true)]
public CMCtnFlowStateEnum? CtnFlowStateId { get; set; }
4 months ago
/// <summary>
/// Desc:箱损坏/维修状态
/// </summary>
4 months ago
[SugarColumn(ColumnDescription = "箱损坏/维修状态id", IsNullable = true)]
public CMCtnBreakStateEnum? CtnBreakStateId { get; set; }
4 months ago
4 months ago
/// <summary>
/// Desc:是否上线id(是否管理中)
/// </summary>
[SugarColumn(ColumnDescription = "是否上线id", IsNullable = true, DefaultValue = "0")]
public CM_IsOnlineEnum? IsOnlineId { get; set; } = 0;
/// <summary>
/// Desc:是否上线(是否管理中)
/// </summary>
4 months ago
//[SugarColumn(ColumnDescription = "是否上线", IsNullable = true, Length = 20)]
//public string IsOnline { get; set; }
4 months ago
/// <summary>
/// Desc:空重箱
/// </summary>
4 months ago
[SugarColumn(ColumnDescription = "空重箱", IsNullable = true, DefaultValue = "0")]
public bool? IsHeavy { get; set; } = false;
4 months ago
/// <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; }
4 months ago
/// <summary>
/// Desc:当前港口
/// </summary>
[SugarColumn(ColumnDescription = "当前港口", IsNullable = true, Length = 50)]
4 months ago
public string Port { get; set; }
4 months ago
/// <summary>
/// Desc:码头或场站
/// </summary>
[SugarColumn(ColumnDescription = "码头或场站", IsNullable = true, Length = 50)]
public string Depot { get; set; }
/// <summary>
/// Desc:船名航次
4 months ago
/// </summary>
[SugarColumn(ColumnDescription = "船名航次", IsNullable = true, Length = 50)]
public string VesselVoyno { get; set; }
4 months ago
/// <summary>
/// Desc:当前业务编号
/// </summary>
[SugarColumn(ColumnDescription = "当前业务编号", IsNullable = true, Length = 50)]
public string Mblno { get; set; }
/// <summary>
4 months ago
/// 委托单位Id
/// </summary>
4 months ago
[SqlSugar.SugarColumn(ColumnDescription = "委托单位Id", IsNullable = true, DefaultValue = "0")]
4 months ago
public long CustomerId { get; set; }
/// <summary>
/// 业务委托单位 t_info_client CUSTNAME
4 months ago
/// </summary>
4 months ago
[SqlSugar.SugarColumn(ColumnDescription = "业务委托单位", IsNullable = true, Length = 50)]
4 months ago
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; }
3 months ago
/// <summary>
/// 备注
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "备注", IsNullable = true, Length = 400)]
public string Remark { get; set; }
}