commit | author | age
|
a18bfa
|
1 |
package cn.autoform.bean.system; |
Z |
2 |
|
|
3 |
import java.util.Date; |
|
4 |
|
|
5 |
import io.swagger.annotations.ApiModel; |
|
6 |
import io.swagger.annotations.ApiModelProperty; |
|
7 |
import lombok.Data; |
|
8 |
import springfox.documentation.annotations.ApiIgnore; |
|
9 |
|
|
10 |
|
|
11 |
@ApiIgnore |
|
12 |
@ApiModel(value="用户信息") |
|
13 |
@Data |
|
14 |
public class UserInfo { |
|
15 |
|
|
16 |
public static final String FIRST_KEY = "first"; |
|
17 |
public static final String SECOND_KEY = "second"; |
|
18 |
public static final String THIRD_KEY = "third"; |
|
19 |
|
|
20 |
private String userCode; |
|
21 |
|
|
22 |
|
|
23 |
//BPS登陆key |
|
24 |
@ApiModelProperty("BPS登陆key") |
|
25 |
private String workFlowCode; |
|
26 |
@ApiModelProperty("租户id") |
|
27 |
private Integer tenantId; |
|
28 |
@ApiModelProperty("公司id") |
|
29 |
private Integer companyId; |
|
30 |
@ApiModelProperty("业务系统id") |
|
31 |
private Integer serviceId; |
|
32 |
|
|
33 |
/** |
|
34 |
* 用户信息 |
|
35 |
*/ |
|
36 |
@ApiModelProperty("用户id") |
|
37 |
private String uid; |
|
38 |
@ApiModelProperty("用户名称") |
|
39 |
private String userName; |
|
40 |
private String nickName; |
|
41 |
@ApiModelProperty("邮件") |
|
42 |
private String email; |
|
43 |
@ApiModelProperty("手机号码") |
|
44 |
private String phone; |
|
45 |
@ApiModelProperty("注册时间") |
|
46 |
private Date registerTime; |
|
47 |
@ApiModelProperty("修改时间") |
|
48 |
private Date updateTime; |
|
49 |
private String deviceSn; |
|
50 |
private String deviceType; |
|
51 |
private String pkgName; |
|
52 |
private String macAddress; |
|
53 |
private String ipAddress; |
|
54 |
private String emailVerified; |
|
55 |
private String idNumber; |
|
56 |
private String iconURL; |
|
57 |
@ApiModelProperty("真是姓名") |
|
58 |
private String realName; |
|
59 |
private String province; |
|
60 |
private String city; |
|
61 |
private String county; |
|
62 |
private String location; |
|
63 |
private String sex; |
|
64 |
@ApiModelProperty("生日") |
|
65 |
private String birthday; |
|
66 |
private String bloodType; |
|
67 |
|
|
68 |
private String qq; |
|
69 |
|
|
70 |
private String weixin; |
|
71 |
private String sinaweibo; |
|
72 |
private String taobao; |
|
73 |
|
|
74 |
private String alipay; |
|
75 |
private String university; |
|
76 |
private String major; |
|
77 |
private String personalInfo; |
|
78 |
private String fingerPrint; |
|
79 |
private String fingerURL; |
|
80 |
private String interests; |
|
81 |
private String changeTimes; |
|
82 |
private Date loginTime; |
|
83 |
private String passwordStrength; |
|
84 |
|
|
85 |
private LogInInfo loginInfo; |
|
86 |
|
|
87 |
private String bpsUserName; |
|
88 |
|
|
89 |
private Boolean isSuperManager; |
|
90 |
|
|
91 |
/** |
|
92 |
* 新加公司code |
|
93 |
*/ |
|
94 |
private String hotInfoCompanyId; |
|
95 |
|
|
96 |
@Data |
|
97 |
public static class LogInInfo{ |
|
98 |
|
|
99 |
private String token; |
|
100 |
|
|
101 |
private String userId; |
|
102 |
|
|
103 |
private String openId; |
|
104 |
|
|
105 |
private String livemode; |
|
106 |
|
|
107 |
public LogInInfo(){} |
|
108 |
|
|
109 |
public LogInInfo(String token, String openId){ |
|
110 |
this.token = token; |
|
111 |
this.openId =openId; |
|
112 |
} |
|
113 |
} |
|
114 |
|
|
115 |
} |