package com.zhongshu.card.server.core.model.org;

import com.zhongshu.card.server.core.domain.org.Organization;
import com.zhongshu.card.server.core.domain.org.UserAccount;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author TRX
 * @date 2024/9/24
 */
@Data
public class OrgBindUserParam {
    @Schema(description = "机构信息")
    private Organization organization;

    @Schema(description = "用户信息")
    private UserAccount userAccount;

    @Schema(description = "是否是管理员")
    private Boolean isAdmin = Boolean.FALSE;

    @Schema(description = "项目oid")
    private String projectOid;

    @Schema(description = "角色列表")
    private List<String> roleIds = new ArrayList<>();
}
