using DS.Module.Core;
using DS.Module.Core.Enums;
using DS.WMS.ContainerManagement.Info.Entity;
using FluentValidation;
using Mapster;
using Masuit.Tools.Systems;
using SqlSugar;
namespace DS.WMS.ContainerManagement.Info.Dtos;
///
/// 箱管_箱号校验
///
public class CM_CheckCntrno
{
///
/// 集装箱号
///
public string Cntrno { get; set; }
}
public class CM_CheckCntrnoRes
{
public List RightCntrnoList { get; set; } = new List();
public List WrongCntrnoList { get; set; } = new List();
public List TrueCntrnoList { get; set; } = new List();
public void AddCntrno(string CNTRNO, bool isRight,string trueCntrno) {
if (isRight)
{
RightCntrnoList.Add(CNTRNO);
}
else {
WrongCntrnoList.Add(CNTRNO);
TrueCntrnoList.Add(trueCntrno);
}
}
}