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

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 会员加入店铺租户请求 DTO（移动端扫码入会）。
 *
 * @author jeesharp
 * @since 2026-06-25
 */
@Data
@Schema(description = "会员加入店铺租户请求")
public class MemberTenantJoinDTO {

    @NotBlank(message = "店铺租户编码不能为空")
    @Schema(description = "店铺租户编码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String tenantCode;

    @Schema(description = "推广渠道编码")
    private String channelCode;

    /**
     * 入会来源（内部赋值，前端一般不传）
     */
    @Schema(description = "入会来源", hidden = true)
    private String joinSource;
}
