using MediatR;
using TakeoutSaaS.Application.App.Customers.Dto;
using TakeoutSaaS.Shared.Abstractions.Results;
namespace TakeoutSaaS.Application.App.Customers.Queries;
///
/// 客户列表查询。
///
public sealed class SearchCustomerListQuery : IRequest>
{
///
/// 可见门店 ID 集合。
///
public IReadOnlyCollection VisibleStoreIds { get; init; } = [];
///
/// 关键词(姓名/手机号)。
///
public string? Keyword { get; init; }
///
/// 客户标签筛选。
///
public string? Tag { get; init; }
///
/// 下单次数区间。
///
public string? OrderCountRange { get; init; }
///
/// 注册周期天数(7/30/90)。
///
public int? RegisterPeriodDays { get; init; }
///
/// 页码。
///
public int Page { get; init; } = 1;
///
/// 每页条数。
///
public int PageSize { get; init; } = 10;
}