using DS.Module.Core;
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 Custno { get; set; }
public BusinessType BusinessType { get; set; } = BusinessType.CM_RentIn;
///
/// Desc:租箱退租
///
public string RentDirect { get; set; }
///
/// Desc:租箱类型 长租短租单程
///
public string RentType { get; set; }
///
/// Desc:业务状态
///
public string BillState { get; set; }
///
/// Desc:业务所属分部
///
[SugarColumn(ColumnDescription = "业务所属分部", IsNullable = true, Length = 50)]
public string Corpid { get; set; }
///
/// Desc:原箱主
///
[SugarColumn(ColumnDescription = "原箱主", IsNullable = true, Length = 50)]
public string OldContainerOwner { get; set; }
///
/// Desc:业务日期
///
[SugarColumn(ColumnDescription = "业务日期", IsNullable = true, Length = 20)]
public DateTime? Bsdate { get; set; }
///
/// Desc:会计期间
///
[SugarColumn(ColumnDescription = "会计期间", IsNullable = true, Length = 7)]
public string Accdate { get; set; }
///
/// Desc:是否业务锁定
///
[SugarColumn(ColumnDescription = "是否业务锁定", DefaultValue = "0")]
public bool? IsBusinessLocking { get; set; } = false;
///
/// Desc:是否费用锁定
///
[SugarColumn(ColumnDescription = "是否费用锁定", DefaultValue = "0")]
public bool? IsFeeLocking { get; set; } = false;
///
/// Desc:备注
///
[SugarColumn(ColumnDescription = "备注", IsNullable = true, Length = 500)]
public string Remark { get; set; }
}