using FluentValidation;
using Monitoring.Common.Validators;

namespace Monitoring.Features.CheckListManagement;

public sealed class GetCheckListTemplateListRequestValidator
	: AbstractValidator<GetCheckListTemplateListRequest>
{
	public GetCheckListTemplateListRequestValidator()
	{
		RuleFor(x => x).SetValidator(new TableStateValidator());
		RuleFor(x => x.Type).IsInEnum();
	}
}
