using MediatR;
using TakeoutSaaS.Application.App.Finance.Transactions.Dto;

namespace TakeoutSaaS.Application.App.Finance.Transactions.Queries;

/// <summary>
/// 交易流水列表查询。
/// </summary>
public sealed class SearchFinanceTransactionListQuery : FinanceTransactionFilterQueryBase, IRequest<FinanceTransactionListResultDto>
{
    /// <summary>
    /// 页码。
    /// </summary>
    public int Page { get; init; } = 1;

    /// <summary>
    /// 每页条数。
    /// </summary>
    public int PageSize { get; init; } = 20;
}
