package com.jeesharp.business.modules.marketing.tenantQrcode.dto;

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

import lombok.Data;

/**

 * 生成店铺推广二维码请求 DTO。

 * <p>推荐仅传 {@code presetCode}；选「自定义」时传 {@code presetCode=CUSTOM} 与 {@code channelName}，渠道编码由系统生成。</p>

 *

 * @author jeesharp

 * @since 2026-06-25

 */

@Data

@Schema(description = "生成店铺推广二维码请求")

public class MarketingTenantQrcodeCreateDTO {

    @Schema(description = "预设渠道：DEFAULT/COUNTER/POSTER/WECHAT/DOUYIN/XHS；自定义传 CUSTOM")

    private String presetCode;

    @Schema(description = "自定义渠道名称（presetCode=CUSTOM 或未选预设时填写，如：双十一活动）")

    private String channelName;

    @Schema(description = "渠道编码（一般无需填写，兼容高级场景）")

    private String channelCode;

    @Schema(description = "小程序落地页路径，默认 pages/home/index（营销小程序首页，由 App 解析 scene）")

    private String pagePath;

}

