using FluentValidation;
using MiningService.API.Application.Commands;

namespace MiningService.API.Application.Validations;

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

        RuleFor(x => x.InviteId)
            .NotEmpty().WithMessage("Invite ID is required / ID lời mời là bắt buộc");
    }
}
