using FluentValidation; namespace ExpenseTracker.Application.Accounts.Queries.Charts.GetIncomeBarChart; public class GetIncomeBarChartQueryValidator : AbstractValidator { public GetIncomeBarChartQueryValidator() { // RuleFor(v => v.AccountId).NotEmpty(); RuleFor(v => v.FromDate).NotEmpty(); RuleFor(v => v.ToDate).NotEmpty(); } }