using FluentValidation;

using Monitoring.Common.Validators;

namespace Monitoring.Features.Photos.GetPhotoList;

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