using FluentValidation;
namespace Kean.Domain.Task.Commands
{
///
/// 任务取消命令
///
public class CancelAgvApplyOutCommand : CommandValidator, ICommand
{
///
///
///
public string RequestNo
{ get; set; }
///
/// 操作者
///
public string PostUser
{
get; set;
}
///
/// 验证项
///
protected override void Validation()
{
RuleFor(r => r.RequestNo).NotEmpty().WithMessage("申请编号不允许空");
}
}
}