using FluentValidation;
using MissionService.API.Application.Commands;

namespace MissionService.API.Application.Validations;

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