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;
///
/// 箱管_租箱租入 返回实体
///
public class CM_RentInRes: BussinessStateRes
{
///
/// 主键Id
///
public long Id { get; set; }
///
/// Desc:租箱业务号
///
public string Billno { get; set; }
public BusinessType BusinessType { get; set; } = BusinessType.CM_RentIn;
///
/// Desc:租箱业务id
///
public CMRentDirectEnum? RentDirectId { get; set; }
///
/// Desc:租箱业务
///
public string? RentDirect => RentDirectId?.GetDescription();
///
/// Desc:租箱类型 长租短租单程
///
public CMRentTypeEnum? RentTypeId { get; set; }
///
/// Desc:租箱类型 长租短租单程
///
public string RentType { get; set; }
// public string CtnSource => CtnSourceId?.GetDescription();
///
/// Desc:业务状态
///
public string BillState { get; set; }
///
/// Desc:原箱主Id
///
public long? OldContainerOwnerId { get; set; }
///
/// Desc:原箱主
///
public string OldContainerOwner { get; set; }
///
/// Desc:业务日期
///
public DateTime? Bsdate { get; set; }
///
/// Desc:会计期间
///
public string Accdate { get; set; }
/////
///// Desc:是否业务锁定
/////
//public bool? IsBusinessLocking { get; set; } = false;
/////
///// Desc:是否费用锁定
/////
//public bool? IsFeeLocking { get; set; } = false;
}