using FluentValidation;

using Monitoring.Common.Validators;

namespace Monitoring.Features.UserLogs.GetLogList;

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

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