using FluentValidation;

namespace Monitoring.Features.CameraViews.UpdateCameraView;

public class UpdateCameraViewValidator : AbstractValidator<UpdateCameraViewRequest>
{
	public UpdateCameraViewValidator()
	{
		RuleFor(x => x.StartVideo).LessThanOrEqualTo(x => x.EndVideo);
		RuleFor(x => x.DateTime).NotEmpty();
	}
}
