package com.jeesharp.business.modules.setting.dto;

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

import java.util.List;

/**
 * 运营弹窗扩展配置（序列化存入 {@code cfg_operation_popup.ext_config}）。
 */
@Data
@Schema(description = "运营弹窗扩展配置")
public class OperationPopupExtConfigDTO {

    @Schema(description = "券来源：TEMPLATE_IDS")
    private String couponSource;

    @Schema(description = "关联优惠券模板 ID 列表")
    private List<String> templateIds;

    @Schema(description = "券包最多展示张数")
    private Integer maxShow;

    @Schema(description = "底部「查看更多」文案")
    private String moreText;

    @Schema(description = "底部「查看更多」跳转，空则沿用 linkPath")
    private String moreLinkPath;

    @Schema(description = "主按钮文案")
    private String ctaText;

    @Schema(description = "关联营销活动 ID")
    private String activityId;

    @Schema(description = "是否展示倒计时")
    private Boolean showCountdown;

    @Schema(description = "纯图模式是否隐藏壳层标题副标题")
    private Boolean hideShellText;

    @Schema(description = "频控：daily/once/on_new_coupon")
    private String frequency;
}
