using FluentValidation;
using System;
namespace Kean.Domain.Task.Commands
{
///
/// 任务完成命令
///
public class TransferRelocateCommand : CommandValidator, ICommand
{
///
/// 标识
///
public int Id { get; set; }
///
/// 验证项
///
protected override void Validation()
{
RuleFor(r => r.Id).NotEmpty().WithMessage("标识不允许空");
}
}
}