using FluentValidation;

namespace AdsTrackingService.API.Application.Validations;

/// <summary>
/// EN: Validator for CreateTrackingPixelCommand.
/// VI: Validator cho CreateTrackingPixelCommand.
/// </summary>
public class CreateTrackingPixelCommandValidator : AbstractValidator<Commands.CreateTrackingPixelCommand>
{
    public CreateTrackingPixelCommandValidator()
    {
        RuleFor(x => x.AdvertiserId)
            .NotEmpty()
            .WithMessage("Advertiser ID is required / Advertiser ID là bắt buộc");
    }
}
