提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.api.user.dto; |
H |
2 |
|
|
3 |
import com.fhs.core.trans.vo.VO; |
|
4 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
5 |
import lombok.Data; |
|
6 |
|
d9f9ba
|
7 |
import java.util.List; |
e7c126
|
8 |
import java.util.Set; |
H |
9 |
|
|
10 |
@Schema(description = "RPC 服务 - Admin 用户 Response DTO") |
|
11 |
@Data |
|
12 |
public class AdminUserRespDTO implements VO { |
|
13 |
|
|
14 |
@Schema(description = "用户 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
15 |
private Long id; |
d9f9ba
|
16 |
|
H |
17 |
@Schema(description = "用户名", requiredMode = Schema.RequiredMode.REQUIRED, example = "admin") |
|
18 |
private String username; |
e7c126
|
19 |
|
H |
20 |
@Schema(description = "用户昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "小王") |
|
21 |
private String nickname; |
|
22 |
|
|
23 |
@Schema(description = "帐号状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
24 |
private Integer status; // 参见 CommonStatusEnum 枚举 |
|
25 |
|
|
26 |
@Schema(description = "部门编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
27 |
private Long deptId; |
|
28 |
|
|
29 |
@Schema(description = "岗位编号数组", requiredMode = Schema.RequiredMode.REQUIRED, example = "[1, 3]") |
|
30 |
private Set<Long> postIds; |
|
31 |
|
|
32 |
@Schema(description = "手机号码", requiredMode = Schema.RequiredMode.REQUIRED, example = "15601691300") |
|
33 |
private String mobile; |
|
34 |
|
d9f9ba
|
35 |
@Schema(description = "角色ID列表") |
H |
36 |
private Set<Long> roleIdList; |
|
37 |
|
e7c126
|
38 |
} |