38 lines
937 B
C#
38 lines
937 B
C#
using MediatR;
|
|
using TakeoutSaaS.Application.App.Merchants.Dto;
|
|
using TakeoutSaaS.Domain.Common.Enums;
|
|
using TakeoutSaaS.Shared.Abstractions.Results;
|
|
|
|
namespace TakeoutSaaS.Application.App.Merchants.Queries;
|
|
|
|
/// <summary>
|
|
/// 待审核商户列表查询。
|
|
/// </summary>
|
|
public sealed class GetPendingReviewListQuery : IRequest<PagedResult<MerchantReviewListItemDto>>
|
|
{
|
|
/// <summary>
|
|
/// 关键词(商户名称/营业执照号)。
|
|
/// </summary>
|
|
public string? Keyword { get; init; }
|
|
|
|
/// <summary>
|
|
/// 经营模式筛选。
|
|
/// </summary>
|
|
public OperatingMode? OperatingMode { get; init; }
|
|
|
|
/// <summary>
|
|
/// 租户筛选。
|
|
/// </summary>
|
|
public long? TenantId { get; init; }
|
|
|
|
/// <summary>
|
|
/// 页码。
|
|
/// </summary>
|
|
public int Page { get; init; } = 1;
|
|
|
|
/// <summary>
|
|
/// 每页条数。
|
|
/// </summary>
|
|
public int PageSize { get; init; } = 20;
|
|
}
|