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

import com.jeesharp.framework.pojo.dto.BaseSaveDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 店铺营销扩展配置保存 DTO。
 *
 * @author jeesharp
 * @since 2026-06-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "店铺营销扩展配置保存请求")
public class MarketingTenantExtSaveDTO extends BaseSaveDTO {

    @NotNull(message = "是否开通营销不能为空")
    @Schema(description = "是否开通会员营销：0-否 1-是", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer marketingEnabled;

    @NotNull(message = "扫码免审配置不能为空")
    @Schema(description = "扫码是否免审直绑：0-否 1-是", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer autoJoinOnQr;

    @Schema(description = "落地页标题")
    private String welcomeTitle;

    @Schema(description = "落地页副标题")
    private String welcomeSubtitle;

    @Schema(description = "店铺Logo URL")
    private String logoUrl;
}
