package cn.iocoder.yudao.module.system.controller.admin.tenant.vo.tenant;

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

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 加入租户 Request VO")
@Data
public class TenantJoinReqVO {

//    @Schema(description = "关系ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15794")
    private Long id;

//    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "29632")
//    @NotNull(message = "用户ID不能为空")
    private Long userId;

//    @Schema(description = "租户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "3553")
//    @NotNull(message = "租户ID不能为空")
    private Long tenantId;

    @Schema(description = "邀请码", requiredMode = Schema.RequiredMode.REQUIRED, example = "3553")
    @NotNull(message = "邀请码不能为空")
    private String corpId;

    @Schema(description = "账号模式", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private String accountMode;

//    @Schema(description = "当前生效", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
//    @NotNull(message = "当前生效不能为空")
    private Boolean actived;

    private String token;

}
