package com.cpop.oam.business.bo;

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

import java.util.List;

/**
 * @author DB
 * @version 1.0.0
 * @since 2023-12-07 17:57
 */
@Data
@Accessors(chain = true)
@Schema(description = "品牌管理员对象")
public class BrandManagerBo {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private String id;

    /**
     * 姓名
     */
    @NotBlank(message = "姓名不能为空")
    @Schema(description = "姓名",requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空")
    @Schema(description = "手机号",requiredMode = Schema.RequiredMode.REQUIRED)
    private String phone;

    /**
     * 品牌
     */
    @NotBlank(message = "品牌不能为空")
    @Schema(description = "品牌",requiredMode = Schema.RequiredMode.REQUIRED)
    private String brandId;

    /**
     * 校区id集合
     */
    @Schema(description = "校区id集合")
    private List<String> storeIds;
}
