using FluentValidation;


namespace Monitoring.Features.ServiceOrganization.CreateServiceOrganization
{
	public class CreateServiceOrganizationValidator
		: AbstractValidator<CreateServiceOrganizationRequest>
	{
		public CreateServiceOrganizationValidator()
		{
			RuleFor(x => x.Name)
				.NotEmpty()
				.MaximumLength(100);
		}
	}
}