山东雷驰
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.
 
 
 
 

31 lines
716 B

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