using FluentValidation;

using Monitoring.Common.Validators;
using Monitoring.Features.Zones.GetZoneList;

namespace Monitoring.Features.Areas.GetAreaList;

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