using FluentValidation;
using System.Collections.Generic;
namespace Kean.Domain.Material.Commands
{
///
/// 删除安全库存命令
///
public class DeleteSafetyCommand : CommandValidator, ICommand
{
///
/// 标识
///
public IEnumerable Id { get; set; }
///
/// 验证项
///
protected override void Validation()
{
RuleFor(r => r.Id).NotEmpty().WithMessage("标识不允许空");
}
}
}