using FluentValidation;

namespace DocumentOperator.Application.HasZugferd.Queries;

/// <summary>
/// Validator for HasZugferdQuery
/// </summary>
public class HasZugferdQueryValidator : AbstractValidator<HasZugferdQuery>
{
    public HasZugferdQueryValidator()
    {
        RuleFor(x => x.PdfStream)
            .NotNull()
            .WithMessage("PDF stream is required");
    }
}
