提交 | 用户 | 时间
|
07073f
|
1 |
package com.iailab.module.ansteel.client.dto.user; |
H |
2 |
|
|
3 |
import lombok.AllArgsConstructor; |
|
4 |
import lombok.Data; |
|
5 |
import lombok.NoArgsConstructor; |
|
6 |
|
|
7 |
import java.util.List; |
|
8 |
|
|
9 |
/** |
|
10 |
* 获得用户基本信息 Response dto |
|
11 |
*/ |
|
12 |
@Data |
|
13 |
@NoArgsConstructor |
|
14 |
@AllArgsConstructor |
|
15 |
public class UserInfoRespDTO { |
|
16 |
|
|
17 |
/** |
|
18 |
* 用户编号 |
|
19 |
*/ |
|
20 |
private Long id; |
|
21 |
|
|
22 |
/** |
|
23 |
* 用户账号 |
|
24 |
*/ |
|
25 |
private String username; |
|
26 |
|
|
27 |
/** |
|
28 |
* 用户昵称 |
|
29 |
*/ |
|
30 |
private String nickname; |
|
31 |
|
|
32 |
/** |
|
33 |
* 用户邮箱 |
|
34 |
*/ |
|
35 |
private String email; |
|
36 |
/** |
|
37 |
* 手机号码 |
|
38 |
*/ |
|
39 |
private String mobile; |
|
40 |
|
|
41 |
/** |
|
42 |
* 用户性别 |
|
43 |
*/ |
|
44 |
private Integer sex; |
|
45 |
|
|
46 |
/** |
|
47 |
* 用户头像 |
|
48 |
*/ |
|
49 |
private String avatar; |
|
50 |
|
|
51 |
/** |
|
52 |
* 所在部门 |
|
53 |
*/ |
|
54 |
private Dept dept; |
|
55 |
|
|
56 |
/** |
|
57 |
* 所属岗位数组 |
|
58 |
*/ |
|
59 |
private List<Post> posts; |
|
60 |
|
|
61 |
/** |
|
62 |
* 部门 |
|
63 |
*/ |
|
64 |
@Data |
|
65 |
public static class Dept { |
|
66 |
|
|
67 |
/** |
|
68 |
* 部门编号 |
|
69 |
*/ |
|
70 |
private Long id; |
|
71 |
|
|
72 |
/** |
|
73 |
* 部门名称 |
|
74 |
*/ |
|
75 |
private String name; |
|
76 |
|
|
77 |
} |
|
78 |
|
|
79 |
/** |
|
80 |
* 岗位 |
|
81 |
*/ |
|
82 |
@Data |
|
83 |
public static class Post { |
|
84 |
|
|
85 |
/** |
|
86 |
* 岗位编号 |
|
87 |
*/ |
|
88 |
private Long id; |
|
89 |
|
|
90 |
/** |
|
91 |
* 岗位名称 |
|
92 |
*/ |
|
93 |
private String name; |
|
94 |
|
|
95 |
} |
|
96 |
|
|
97 |
} |