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.
157 lines
3.6 KiB
C#
157 lines
3.6 KiB
C#
using DS.Module.Core;
|
|
using DS.Module.Core.Enums;
|
|
using Masuit.Tools.Systems;
|
|
using SqlSugar;
|
|
|
|
namespace DS.WMS.ContainerManagement.Info.Dtos;
|
|
|
|
/// <summary>
|
|
/// 集装箱当前状态 返回实体
|
|
/// </summary>
|
|
public class CM_CurrentStateRes
|
|
{
|
|
/// <summary>
|
|
/// 主键Id
|
|
/// </summary>
|
|
public long Id { get; set; }
|
|
/// <summary>
|
|
/// 集装箱号
|
|
/// </summary>
|
|
public string Cntrno { get; set; }
|
|
/// <summary>
|
|
/// 箱型代码
|
|
/// </summary>
|
|
public string CtnCode { get; set; }
|
|
// <summary>
|
|
/// Desc:箱型
|
|
/// </summary>
|
|
public string Ctnall { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:新旧箱 空白/used/new
|
|
/// </summary>
|
|
public string UsedState { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:箱主
|
|
/// </summary>
|
|
public string CtnOwner { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:箱来源: 自有箱/短租租入/长租租入/买箱
|
|
/// </summary>
|
|
public CM_CtnSourceEnum? CtnSourceId { get; set; }
|
|
/// <summary>
|
|
/// Desc:箱来源: 自有箱/短租租入/长租租入/买箱
|
|
/// </summary>
|
|
public string CtnSource => CtnSourceId?.GetDescription();
|
|
|
|
/// <summary>
|
|
/// Desc:箱业务状态id: 短租租出 长租租出 单程 卖箱
|
|
/// </summary>
|
|
public CM_CtnBizStateEnum? CtnBizStateId { get; set; }
|
|
/// <summary>
|
|
/// Desc:箱业务状态: 短租租出 长租租出 单程 卖箱
|
|
/// </summary>
|
|
public string CtnBizState { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:箱业务编号:当前
|
|
/// </summary>
|
|
public string Billno { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:关联放箱单号
|
|
/// </summary>
|
|
public string CtnReleaseNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:箱状态Id
|
|
/// </summary>
|
|
public CMCtnStateEnum? CtnStateId { get; set; }
|
|
/// <summary>
|
|
/// Desc:箱状态
|
|
/// </summary>
|
|
public string CtnState => CtnStateId?.GetDescription();
|
|
|
|
/// <summary>
|
|
/// Desc:箱损坏/维修状态
|
|
/// </summary>
|
|
public string CtnBreakState { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// Desc:是否上线id(是否管理中)
|
|
/// </summary>
|
|
public CM_IsOnlineEnum? IsOnlineId { get; set; } = 0;
|
|
/// <summary>
|
|
/// Desc:是否上线(是否管理中)
|
|
/// </summary>
|
|
public string IsOnline => IsOnlineId?.GetDescription();
|
|
|
|
|
|
/// <summary>
|
|
/// Desc:空重箱
|
|
/// </summary>
|
|
public bool? IsHeavy { get; set; } = false;
|
|
/// <summary>
|
|
/// Desc:当前港口代码
|
|
/// </summary>
|
|
public string Portid { get; set; }
|
|
/// <summary>
|
|
/// Desc:当前港口
|
|
/// </summary>
|
|
public string Port { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:码头或场站
|
|
/// </summary>
|
|
public string Depot { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:运输工具
|
|
/// </summary>
|
|
public string VehicleName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:当前业务编号
|
|
/// </summary>
|
|
public string Mblno { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 业务委托单位Id
|
|
/// </summary>
|
|
public long CustomerId { get; set; }
|
|
/// <summary>
|
|
/// 业务委托单位
|
|
/// </summary>
|
|
public string CustomerName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// Desc:ETD
|
|
/// </summary>
|
|
public DateTime? ETD { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:ETD
|
|
/// </summary>
|
|
public DateTime? ETA { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// Desc:状态时间
|
|
/// </summary>
|
|
public DateTime? StateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 箱皮重
|
|
/// </summary>
|
|
public decimal? CtnWeight { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// 箱初期成本
|
|
/// </summary>
|
|
public decimal? CtnValue_Base { get; set; } = 0;
|
|
} |