using FluentValidation;

using Monitoring.Common.Validators;

namespace Monitoring.Features.ResponsiblePersons.GetResponsiblePersonList;

public class GetResponsiblePersonListValidator : AbstractValidator<GetResponsiblePersonListRequest>
{
	public GetResponsiblePersonListValidator()
	{
		_ = RuleFor(x => x).SetValidator(new TableStateValidator());
		_ = RuleFor(x => x.AssetId).NotEmpty();
	}
}
