parent
1d07748dd4
commit
449baf2dfd
@ -0,0 +1,130 @@
|
||||
using DS.Module.Core;
|
||||
using DS.Module.Core.Enums;
|
||||
using DS.WMS.Core.Op.Entity;
|
||||
using FluentValidation;
|
||||
using Masuit.Tools.Systems;
|
||||
using SqlSugar;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DS.WMS.ContainerManagement.Info.Dtos;
|
||||
|
||||
/// <summary>
|
||||
/// 箱管_单程 待单程租出箱明细 返回实体
|
||||
/// </summary>
|
||||
public class VW_CM_RentOneWay_NeedRentRes
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键Id
|
||||
/// </summary>
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:箱号
|
||||
/// </summary>
|
||||
public string Cntrno { get; set; }
|
||||
/// <summary>
|
||||
/// 箱型代码
|
||||
/// </summary>
|
||||
public string CtnCode { get; set; }
|
||||
/// <summary>
|
||||
/// Desc:箱型
|
||||
/// </summary>
|
||||
public string Ctnall { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:箱主Id
|
||||
/// </summary>
|
||||
public long CtnOwnerId { get; set; }
|
||||
/// <summary>
|
||||
/// Desc:箱主
|
||||
/// </summary>
|
||||
public string CtnOwner { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:是否上线id(是否管理中)
|
||||
/// </summary>
|
||||
public CM_IsOnlineEnum? IsOnlineId { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// Desc:是否上线(是否管理中)
|
||||
/// </summary>
|
||||
public string IsOnline => IsOnlineId?.GetDescription();
|
||||
/// <summary>
|
||||
/// Desc:箱来源Id: 自有箱/短租租入/长租租入/买箱
|
||||
/// </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 => CtnBizStateId?.GetDescription();
|
||||
/// <summary>
|
||||
/// <summary>
|
||||
/// Desc:箱状态Id
|
||||
/// </summary>
|
||||
public CMCtnStateEnum? CtnStateId { get; set; }
|
||||
/// <summary>
|
||||
/// Desc:箱状态
|
||||
/// </summary>
|
||||
public string CtnState => CtnStateId?.GetDescription();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:箱流转状态Id
|
||||
/// </summary>
|
||||
public CMCtnFlowStateEnum? CtnFlowStateId { get; set; }
|
||||
/// <summary>
|
||||
/// Desc:箱流转状态
|
||||
/// </summary>
|
||||
public string CtnFlowState => CtnFlowStateId?.GetDescription();
|
||||
/// <summary>
|
||||
/// Desc:当前港口代码
|
||||
/// </summary>
|
||||
public long? Portid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:当前港口五字码
|
||||
/// </summary>
|
||||
public string PortCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:当前港口
|
||||
/// </summary>
|
||||
public string Port { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:业务编号/提单号
|
||||
/// </summary>
|
||||
public string Mblno { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:船名航次
|
||||
/// </summary>
|
||||
public string VesselVoyno { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态时间
|
||||
/// </summary>
|
||||
public DateTime StateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:关联放箱单号
|
||||
/// </summary>
|
||||
public string? CtnReleaseNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
}
|
@ -0,0 +1,133 @@
|
||||
using DS.Module.Core;
|
||||
using DS.Module.Core.Data;
|
||||
using DS.Module.Core.Enums;
|
||||
using Masuit.Tools.Systems;
|
||||
using SqlSugar;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DS.WMS.ContainerManagement.Info.Entity;
|
||||
|
||||
/// <summary>
|
||||
/// 箱管_单程 待单程租出箱明细
|
||||
/// </summary>
|
||||
[SqlSugar.SugarTable("VW_CM_RentOneWay_NeedRent", "箱管_单程 待单程租出箱明细")]
|
||||
public class VW_CM_RentOneWay_NeedRent : BaseOrgModelV2<long>
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 箱当前状态id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "箱当前状态id", IsNullable = false)]
|
||||
public long Id { get; set; }
|
||||
/// <summary>
|
||||
/// Desc:箱号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "箱号", IsNullable = false, Length = 20)]
|
||||
public string Cntrno { 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>
|
||||
/// Desc:箱主Id
|
||||
/// </summary>
|
||||
[SqlSugar.SugarColumn(ColumnDescription = "箱主Id", IsNullable = false, DefaultValue = "0")]
|
||||
public long CtnOwnerId { get; set; }
|
||||
/// <summary>
|
||||
/// Desc:箱主
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "箱主", IsNullable = true, Length = 50)]
|
||||
public string CtnOwner { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:是否上线id(是否管理中)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "是否上线id", IsNullable = true, DefaultValue = "0")]
|
||||
public CM_IsOnlineEnum? IsOnlineId { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// Desc:箱来源Id: 自有箱/短租租入/长租租入/买箱
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "箱来源Id", IsNullable = true, Length = 20)]
|
||||
public CM_CtnSourceEnum? CtnSourceId { get; set; }
|
||||
/// <summary>
|
||||
/// Desc:箱业务状态id: 短租租出 长租租出 单程 卖箱
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "箱业务状态Id", IsNullable = true)]
|
||||
public CM_CtnBizStateEnum? CtnBizStateId { get; set; }
|
||||
/// <summary>
|
||||
/// <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 = "当前港口代码", 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 = 50)]
|
||||
public string Port { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:业务编号/提单号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "业务编号/提单号", IsNullable = true, Length = 20)]
|
||||
public string Mblno { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:船名航次
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "船名航次", IsNullable = true, Length = 100)]
|
||||
public string VesselVoyno { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态时间
|
||||
/// </summary>
|
||||
[Description("状态时间")]
|
||||
public DateTime StateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Description("创建时间")]
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[SqlSugar.SugarColumn(ColumnDescription = "备注", IsNullable = true, Length = 400)]
|
||||
public string Remark { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Desc:关联放箱单号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "关联放箱单号", IsNullable = true, Length = 50)]
|
||||
public string CtnReleaseNo { get; set; }
|
||||
}
|
||||
|
Loading…
Reference in New Issue