using FluentValidation;
using MembershipService.API.Application.Commands;

namespace MembershipService.API.Application.Validations;

/// <summary>
/// EN: Validator for ClaimRewardCommand.
/// VI: Validator cho ClaimRewardCommand.
/// </summary>
public class ClaimRewardCommandValidator : AbstractValidator<ClaimRewardCommand>
{
    public ClaimRewardCommandValidator()
    {
        RuleFor(x => x.StampCardId)
            .NotEmpty()
            .WithMessage("StampCardId is required / StampCardId la bat buoc");
    }
}
