using FluentValidation;
using AdsManagerService.API.Application.Commands;

namespace AdsManagerService.API.Application.Validations;

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