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

namespace AdsManagerService.API.Application.Validations;

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