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

namespace MembershipService.API.Application.Validations;

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