liu
12 小时以前 c3b0503f8e2ecf955d0e8e4ca9294e6cd5199c0b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package cn.iocoder.yudao.module.system.api.user.dto;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.util.Set;
 
/**
 * Admin 用户更新 Request DTO
 *
 * 供其他模块同步更新系统用户的部分信息(如 HRM 员工编辑时同步岗位/部门等)
 */
@Schema(description = "管理后台 - 用户更新 Request DTO")
@Data
public class AdminUserUpdateReqDTO {
 
    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "用户编号不能为空")
    private Long id;
 
    @Schema(description = "用户昵称", example = "张三")
    private String nickname;
 
    @Schema(description = "部门编号", example = "1")
    private Long deptId;
 
    @Schema(description = "岗位编号数组", example = "[1, 2]")
    private Set<Long> postIds;
 
    @Schema(description = "角色编号数组", example = "[1, 2]")
    private Set<Long> roleIds;
 
    @Schema(description = "用户邮箱", example = "zhangsan@example.com")
    private String email;
 
    @Schema(description = "备注", example = "备注信息")
    private String remark;
 
}