using FluentValidation; namespace AutobusApi.Application.Addresses.Queries.GetAddress; public class GetAddressQueryValidator : AbstractValidator { public GetAddressQueryValidator() { RuleFor(v => v.Id).GreaterThan(0); } }