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.

82 lines
1.9 KiB
C#

using DS.Module.Core;
using DS.Module.Core.Enums;
using DS.WMS.Core.Op.Entity;
using Masuit.Tools.Systems;
using SqlSugar;
using System.ComponentModel;
namespace DS.WMS.ContainerManagement.Info.Dtos;
/// <summary>
/// 箱管_租箱租入 返回实体
/// </summary>
public class CM_RentInRes: BussinessStateRes
{
/// <summary>
/// 主键Id
/// </summary>
public long Id { get; set; }
/// <summary>
/// Desc:租箱业务号
/// </summary>
public string Billno { get; set; }
public BusinessType BusinessType { get; set; } = BusinessType.CM_RentIn;
/// <summary>
/// Desc:租箱业务id
/// </summary>
public CMRentDirectEnum? RentDirectId { get; set; }
/// <summary>
/// Desc:租箱业务
/// </summary>
public string? RentDirect => RentDirectId?.GetDescription();
/// <summary>
/// Desc:租箱类型 长租短租单程
/// </summary>
public CMRentTypeEnum? RentTypeId { get; set; }
/// <summary>
/// Desc:租箱类型 长租短租单程
/// </summary>
public string RentType { get; set; }
// public string CtnSource => CtnSourceId?.GetDescription();
/// <summary>
/// Desc:业务状态
/// </summary>
public string BillState { get; set; }
/// <summary>
/// Desc:原箱主Id
/// </summary>
public long? OldContainerOwnerId { get; set; }
/// <summary>
/// Desc:原箱主
/// </summary>
public string OldContainerOwner { get; set; }
/// <summary>
/// Desc:业务日期
/// </summary>
public DateTime? Bsdate { get; set; }
/// <summary>
/// Desc:会计期间
/// </summary>
public string Accdate { get; set; }
///// <summary>
///// Desc:是否业务锁定
///// </summary>
//public bool? IsBusinessLocking { get; set; } = false;
///// <summary>
///// Desc:是否费用锁定
///// </summary>
//public bool? IsFeeLocking { get; set; } = false;
}