using FluentValidation;

using Monitoring.Common.Validators;

namespace Monitoring.Features.Events.GetEventList;

public class GetEventListValidator : AbstractValidator<GetEventListRequest>
{
	public GetEventListValidator()
	{
		_ = RuleFor(x => x).SetValidator(new TableStateValidator());

		_ = RuleFor(x => x.AssetId).NotEmpty();
	}
}