All checks were successful
Build and Deploy TenantApi + SkuWorker / build-and-deploy (push) Successful in 2m2s
47 lines
1.1 KiB
C#
47 lines
1.1 KiB
C#
using MediatR;
|
||
using TakeoutSaaS.Application.App.Customers.Dto;
|
||
using TakeoutSaaS.Shared.Abstractions.Results;
|
||
|
||
namespace TakeoutSaaS.Application.App.Customers.Queries;
|
||
|
||
/// <summary>
|
||
/// 客户列表查询。
|
||
/// </summary>
|
||
public sealed class SearchCustomerListQuery : IRequest<PagedResult<CustomerListItemDto>>
|
||
{
|
||
/// <summary>
|
||
/// 可见门店 ID 集合。
|
||
/// </summary>
|
||
public IReadOnlyCollection<long> VisibleStoreIds { get; init; } = [];
|
||
|
||
/// <summary>
|
||
/// 关键词(姓名/手机号)。
|
||
/// </summary>
|
||
public string? Keyword { get; init; }
|
||
|
||
/// <summary>
|
||
/// 客户标签筛选。
|
||
/// </summary>
|
||
public string? Tag { get; init; }
|
||
|
||
/// <summary>
|
||
/// 下单次数区间。
|
||
/// </summary>
|
||
public string? OrderCountRange { get; init; }
|
||
|
||
/// <summary>
|
||
/// 注册周期天数(7/30/90)。
|
||
/// </summary>
|
||
public int? RegisterPeriodDays { get; init; }
|
||
|
||
/// <summary>
|
||
/// 页码。
|
||
/// </summary>
|
||
public int Page { get; init; } = 1;
|
||
|
||
/// <summary>
|
||
/// 每页条数。
|
||
/// </summary>
|
||
public int PageSize { get; init; } = 10;
|
||
}
|