using FluentValidation;
using MissionService.API.Application.Commands;
namespace MissionService.API.Application.Validations;
///
/// EN: Validator for PerformCheckInCommand.
/// VI: Validator cho PerformCheckInCommand.
///
public class PerformCheckInCommandValidator : AbstractValidator
{
public PerformCheckInCommandValidator()
{
RuleFor(x => x.UserId)
.NotEmpty().WithMessage("User ID is required / ID người dùng là bắt buộc");
}
}