using MediatR;
using TakeoutSaaS.Application.App.Coupons.FullReduction.Dto;

namespace TakeoutSaaS.Application.App.Coupons.FullReduction.Queries;

/// <summary>
/// 查询满减活动列表。
/// </summary>
public sealed class GetFullReductionCampaignListQuery : IRequest<FullReductionListResultDto>
{
    /// <summary>
    /// 可见门店 ID 集合。
    /// </summary>
    public IReadOnlyCollection<long> VisibleStoreIds { get; init; } = [];

    /// <summary>
    /// 关键字。
    /// </summary>
    public string? Keyword { get; init; }

    /// <summary>
    /// 活动类型筛选。
    /// </summary>
    public string? ActivityType { get; init; }

    /// <summary>
    /// 状态筛选。
    /// </summary>
    public string? Status { get; init; }

    /// <summary>
    /// 页码。
    /// </summary>
    public int Page { get; init; } = 1;

    /// <summary>
    /// 每页条数。
    /// </summary>
    public int PageSize { get; init; } = 4;
}
