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.

185 lines
4.5 KiB
C#

4 months ago
using DS.Module.Core;
4 months ago
using DS.Module.Core.Enums;
using Masuit.Tools.Systems;
4 months ago
using SqlSugar;
namespace DS.WMS.ContainerManagement.Info.Dtos;
/// <summary>
/// 集装箱当前状态 返回实体
/// </summary>
public class CM_CurrentStateRes: BaseFieldRes
4 months ago
{
/// <summary>
/// 主键Id
/// </summary>
public long Id { get; set; }
4 months ago
public long CtnBaseinfoId { get; set; }
/// <summary>
/// 所属机构(公司)
/// </summary>
//public long? OrgId { get; set; }
4 months ago
/// <summary>
/// 集装箱号
/// </summary>
public string Cntrno { get; set; }
4 months ago
/// <summary>
/// 箱型代码
/// </summary>
public string CtnCode { get; set; }
4 months ago
// <summary>
/// Desc:箱型
/// </summary>
public string Ctnall { get; set; }
/// <summary>
/// Desc:新旧箱 空白/used/new
/// </summary>
public string UsedState { get; set; }
4 months ago
/// <summary>
/// Desc:箱主id
/// </summary>
public long CtnOwnerId { get; set; }
4 months ago
/// <summary>
/// Desc:箱主
/// </summary>
public string CtnOwner { get; set; }
/// <summary>
4 months ago
/// Desc:箱来源: 自有箱/短租租入/长租租入/买箱
4 months ago
/// </summary>
4 months ago
public CM_CtnSourceEnum? CtnSourceId { get; set; }
4 months ago
/// <summary>
/// Desc:箱来源: 自有箱/短租租入/长租租入/买箱
/// </summary>
4 months ago
public string? CtnSource => CtnSourceId?.GetDescription();
4 months ago
4 months ago
/// <summary>
/// Desc:箱业务状态id: 短租租出 长租租出 单程 卖箱
/// </summary>
public CM_CtnBizStateEnum? CtnBizStateId { get; set; }
4 months ago
/// <summary>
/// Desc:箱业务状态: 短租租出 长租租出 单程 卖箱
/// </summary>
public string CtnBizState => CtnBizStateId?.GetDescription();
4 months ago
/// <summary>
/// Desc:箱业务编号:当前
/// </summary>
public string Billno { get; set; }
/// <summary>
/// Desc:关联放箱单号
/// </summary>
public string CtnReleaseNo { get; set; }
4 months ago
/// <summary>
/// Desc:箱状态Id
/// </summary>
public CMCtnStateEnum? CtnStateId { get; set; }
4 months ago
/// <summary>
/// Desc:箱状态
/// </summary>
4 months ago
public string CtnState => CtnStateId?.GetDescription();
4 months ago
4 months ago
/// <summary>
/// Desc:箱流转状态Id
/// </summary>
public CMCtnFlowStateEnum? CtnFlowStateId { get; set; }
/// <summary>
/// Desc:箱流转状态
/// </summary>
public string CtnFlowState => CtnFlowStateId?.GetDescription();
/// <summary>
4 months ago
/// Desc:箱损坏/维修状态Id
/// </summary>
public CMCtnBreakStateEnum? CtnBreakStateId { get; set; }
4 months ago
/// <summary>
/// Desc:箱损坏/维修状态
/// </summary>
4 months ago
public string CtnBreakState => CtnBreakStateId?.GetDescription();
4 months ago
/// <summary>
/// Desc:是否上线id(是否管理中)
/// </summary>
public CM_IsOnlineEnum? IsOnlineId { get; set; } = 0;
/// <summary>
/// Desc:是否上线(是否管理中)
/// </summary>
4 months ago
public string IsOnline => IsOnlineId?.GetDescription();
/// <summary>
/// Desc:空重箱
/// </summary>
public bool? IsHeavy { get; set; } = false;
4 months ago
/// <summary>
4 months ago
/// Desc:当前港口代码
4 months ago
/// </summary>
4 months ago
public long? Portid { get; set; }
/// <summary>
/// Desc:当前港口五字码
/// </summary>
public string PortCode { get; set; }
4 months ago
/// <summary>
/// Desc:当前港口
/// </summary>
public string Port { get; set; }
4 months ago
/// <summary>
/// Desc:码头或场站
/// </summary>
public string Depot { get; set; }
/// <summary>
/// Desc:船名航次
4 months ago
/// </summary>
public string? VesselVoyno { get; set; }
4 months ago
/// <summary>
/// Desc:当前业务编号
/// </summary>
public string Mblno { get; set; }
/// <summary>
4 months ago
/// 业务委托单位Id
/// </summary>
public long CustomerId { get; set; }
/// <summary>
/// 业务委托单位
4 months ago
/// </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;
4 months ago
}