using FluentValidation;

public class AcknowledgeAlertRequestValidator : AbstractValidator<AcknowledgeAlertRequest>
{
    public AcknowledgeAlertRequestValidator()
    {
        RuleFor(x => x.Note).MaximumLength(1000).When(x => x.Note is not null);
        RuleFor(x => x.ClinicianId).MaximumLength(200).When(x => x.ClinicianId is not null);
    }
}
