using FluentValidation;

namespace Monitoring.Features.Identity;

public class LoginValidator : AbstractValidator<LoginRequest>
{
	public LoginValidator()
	{
		_ = RuleFor(x => x.Username).NotEmpty();
		_ = RuleFor(x => x.Password).NotEmpty();
	}
}