山东雷驰
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

42 lines
849 B

using FluentValidation;
namespace Kean.Domain.Wcs.Commands
{
/// <summary>
/// 同步输出命令
/// </summary>
public class SyncStationCommand : CommandValidator<SyncStationCommand>, ICommand
{
/// <summary>
/// 设备号
/// </summary>
public string Device
{
get; set;
}
/// <summary>
///
/// </summary>
public string Isfull
{
get; set;
}
/// <summary>
///
/// </summary>
public string PreIsfull
{
get; set;
}
/// <summary>
/// 验证项
/// </summary>
protected override void Validation()
{
RuleFor(r => r.Device).NotEmpty().WithMessage("站台编码不允许空");
}
}
}