using MediatR;
using TakeoutSaaS.Application.App.Statistics.Dto;

namespace TakeoutSaaS.Application.App.Statistics.Queries;

/// <summary>
/// 获取收入统计。
/// </summary>
public sealed record GetRevenueStatisticsQuery : IRequest<RevenueStatisticsDto>
{
    /// <summary>
    /// 统计月份数量，默认12个月。
    /// </summary>
    public int MonthsCount { get; init; } = 12;
}
