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

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

/**
 * 设置会员在店铺内的角色（店员/店长）。
 *
 * @author jeesharp
 * @since 2026-06-25
 */
@Data
@Schema(description = "设置店铺会员角色")
public class MemberTenantAssignRoleDTO {

    @NotBlank(message = "关系主键不能为空")
    @Schema(description = "关系主键 id", requiredMode = Schema.RequiredMode.REQUIRED)
    private String id;

    @NotBlank(message = "角色不能为空")
    @Schema(description = "角色：CUSTOMER/CLERK/MANAGER", requiredMode = Schema.RequiredMode.REQUIRED)
    private String memberRole;
}
