using MediatR; using TakeoutSaaS.Application.App.Customers.Dto; namespace TakeoutSaaS.Application.App.Customers.Queries; /// /// 客群明细查询。 /// public sealed class GetCustomerAnalysisSegmentListQuery : IRequest { /// /// 可见门店 ID 集合。 /// public IReadOnlyCollection VisibleStoreIds { get; init; } = []; /// /// 统计周期编码(7d/30d/90d/365d)。 /// public string PeriodCode { get; init; } = "30d"; /// /// 统计周期天数。 /// public int PeriodDays { get; init; } = 30; /// /// 分群编码。 /// public string SegmentCode { get; init; } = "all"; /// /// 关键词(姓名/手机号)。 /// public string? Keyword { get; init; } /// /// 页码。 /// public int Page { get; init; } = 1; /// /// 每页条数。 /// public int PageSize { get; init; } = 10; }