package com.zhongshu.card.client.model.orgModel;

import com.zhongshu.card.client.type.Sex;
import com.zhongshu.card.client.type.UserState;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 机构绑定用户 （基本用户已存在）
 *
 * @author TRX
 * @date 2024/9/29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrgBindUserAllParam {

    @Schema(description = "数据ID")
    private String id;

    @Schema(description = "用户userId")
    private String userId;

    @Schema(description = "机构oid")
    private String orgOid;

    @Schema(description = "工号-学号")
    private String code;

    @Schema(description = "性别")
    private Sex sex;

    @Schema(description = "职位")
    private String positionId;

    @Schema(description = "部门信息")
    private String departmentId;

    @Schema(description = "角色信息-人员类型")
    private List<String> roleIds;

    @Schema(description = "用户状态")
    private UserState state = UserState.Normal;

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

    @Schema(description = "所属项目oid", hidden = true)
    private String projectOid;

    @Schema(description = "备注")
    private String remark;

}
