using FluentValidation;
using System;
namespace Kean.Domain.Task.Commands
{
///
/// 重新上传命令
///
public class ReuploadTaskCommand : CommandValidator, ICommand
{
///
///
///
public int Id
{
get; set;
}
///
/// 人工标志
///
public int ManualFlg
{
get; set;
}
///
///
///
public string Message
{
get; set;
}
///
/// 验证项
///
protected override void Validation()
{
RuleFor(r => r.Id).NotEmpty().WithMessage("标识不允许空");
}
}
}