package com.jeesharp.business.modules.coupon.stats.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;

/**
 * 优惠券统计查询条件。
 *
 * @author jeesharp
 * @since 2026-07-03
 */
@Data
@Schema(description = "优惠券统计查询参数")
public class CouponStatsQueryVO {

    @Schema(description = "趋势统计开始日期（默认按 trendDays 推算）")
    private LocalDate dateStart;

    @Schema(description = "趋势统计结束日期（默认今天）")
    private LocalDate dateEnd;

    @Schema(description = "趋势天数（默认 7）")
    private Integer trendDays;

    @Schema(description = "TOP 券种条数（默认 3）")
    private Integer topLimit;

    @Schema(description = "租户ID（服务端注入，前端勿传）", hidden = true)
    private String tenantId;

    @Schema(description = "租户编码（服务端注入，前端勿传）", hidden = true)
    private String tenantCode;
}
