using FluentValidation;

namespace Baya.Application.Features.SupportAlerts.Commands.ResolveSupportAlert;

public sealed class ResolveSupportAlertCommandValidator : AbstractValidator<ResolveSupportAlertCommand>
{
    public ResolveSupportAlertCommandValidator()
    {
        RuleFor(x => x.AlertId).GreaterThan(0);
        RuleFor(x => x.Note).NotEmpty().MaximumLength(1000);
    }
}
