feat(customer): 完成客户画像会员摘要与权限链路
All checks were successful
Build and Deploy TenantApi + SkuWorker / build-and-deploy (push) Successful in 2m2s

This commit is contained in:
2026-03-03 14:39:33 +08:00
parent 1b28fa6db4
commit a993b81aeb
15 changed files with 3053 additions and 1 deletions

View File

@@ -0,0 +1,46 @@
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;
}