Files
TakeoutSaaS.TenantApi/src/Application/TakeoutSaaS.Application/App/Customers/Queries/SearchCustomerListQuery.cs
MSuMshk a993b81aeb
All checks were successful
Build and Deploy TenantApi + SkuWorker / build-and-deploy (push) Successful in 2m2s
feat(customer): 完成客户画像会员摘要与权限链路
2026-03-03 14:39:33 +08:00

47 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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;
}