using DS.Module.Core; using DS.Module.Core.Enums; using DS.WMS.Core.Op.Dtos; using DS.WMS.Core.Op.Entity; using FluentValidation; using SqlSugar; namespace DS.WMS.ContainerManagement.Info.Dtos; /// /// 箱管_租箱租入 请求实体 /// public class CM_RentInReq { /// /// 主键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?.EnumDescription(); /// /// Desc:租箱类型 长租短租单程 /// public CMRentTypeEnum? RentTypeId { get; set; } /// /// 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; /// /// Desc:备注 /// public string Remark { get; set; } /// /// 租箱租入明细信息 /// public List BodyList { get; set; } }