using FluentValidation; namespace AutobusApi.Application.Companies.Queries.GetCompany; public class GetCompanyQueryValidator : AbstractValidator { public GetCompanyQueryValidator() { RuleFor(v => v.Id).GreaterThan(0); } }