using FluentValidation;

namespace Baya.Application.Features.Invoices.Commands.IssueInvoice;

public sealed class IssueInvoiceCommandValidator : AbstractValidator<IssueInvoiceCommand>
{
    public IssueInvoiceCommandValidator()
    {
        RuleFor(x => x.BookingId).GreaterThan(0);
    }
}
