16 lines
435 B
C#
16 lines
435 B
C#
using FluentValidation;
|
|||
|
|
using JSMachine.WMS.Common.Dto.Http.In;
|
||
|
|
|
||
|
|
namespace JSMachine.WMS.WebHost.Validators
|
||
|
|
{
|
||
|
|
public class BarCodeUploadParamValidator:AbstractValidator<StockInByPdaRequestParam>
|
||
|
|
{
|
||
|
|
//public BarCodeUploadParamValidator()
|
||
|
|
//{
|
||
|
|
// RuleFor(p => p.BarCode)
|
||
|
|
// .Must(p => !string.IsNullOrEmpty(p))
|
||
|
|
// .WithMessage("条码不能为空");
|
||
|
|
//}
|
||
|
|
}
|
||
|
|
}
|