using FluentValidation;

using Monitoring.Common.Validators;

namespace Monitoring.Features.Zones.GetZoneList;

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