@@ -18,18 +18,6 @@ public class OrgUpdateRequestVO extends DeptDO {
|
||||
private String bimRequestId;
|
||||
@Schema(description = "请求 ID", required = true)
|
||||
private Long bimOrgId;
|
||||
@Schema(description = "机构 名称", required = true)
|
||||
private String name;
|
||||
@Schema(description = "机构 父Id", required = true)
|
||||
private Long parentId;
|
||||
@Schema(description = "机构 负责人Id")
|
||||
private Long leaderUserId;
|
||||
@Schema(description = "机构 电话")
|
||||
private String phone;
|
||||
@Schema(description = "机构 邮件")
|
||||
private String email;
|
||||
@Schema(description = "机构 状态", required = true)
|
||||
private Integer status;
|
||||
@Schema(description = "机构类型", required = true, example = "28=单位、26=部门")
|
||||
private Integer deptType;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
package cn.iocoder.yudao.module.system.controller.admin.sync.vo.user;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Set;
|
||||
@@ -17,14 +19,18 @@ public class UserUpdateRequestVO {
|
||||
@Schema(description = "用户 ID", required = true)
|
||||
private Long bimUid;
|
||||
@Schema(description = "用户账号")
|
||||
@NotNull
|
||||
private String username;
|
||||
@Schema(description = "昵称")
|
||||
@NotNull
|
||||
private String nickname;
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
@NotEmpty
|
||||
@Schema(description = "归属部门Id列表")
|
||||
private Set<Long> deptIds;
|
||||
@Schema(description = "所属岗位名称")
|
||||
@NotNull
|
||||
private String postName;
|
||||
@Schema(description = "邮箱")
|
||||
private String email;
|
||||
|
||||
Reference in New Issue
Block a user