StaffResponse.java
5.54 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
package cn.com.glsx.merchants.response;
import cn.com.glsx.merchants.model.response.AccountTypeTreeResponse;
import cn.com.glsx.merchants.model.response.MerchantFileResponse;
import cn.com.glsx.merchants.model.response.MerchantUserResponse;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
@Data
public class StaffResponse implements Serializable {
@ApiModelProperty(name = "id", notes = "员工id", dataType = "Integer")
private Integer id;
/**
* 员工姓名
*/
@ApiModelProperty(name = "staffName", notes = "员工姓名", dataType = "String")
private String staffName;
/**
* 职务
*/
@ApiModelProperty(name = "staffJob", notes = "职务", dataType = "String")
private String staffJob;
/**
* 手机号
*/
@ApiModelProperty(name = "staffPhone", notes = "手机号", dataType = "String")
private String staffPhone;
/**
* 可见下级商户id
*/
@ApiModelProperty(name = "visibleInferiorMer", notes = "可见下级商户id", dataType = "String")
private String visibleInferiorMer;
/**
* 创建人
*/
@ApiModelProperty(name = "createdBy", notes = "创建人", dataType = "Integer")
private Integer createdBy;
/**
* 创建时间
*/
@ApiModelProperty(name = "createdTime", notes = "创建时间", dataType = "Date")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createdTime;
/**
* 创建时间
*/
@ApiModelProperty(name = "updatedTime", notes = "更新时间", dataType = "Date")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updatedTime;
/**
* 商户id
*/
@ApiModelProperty(name = "merchantId", notes = "商户id", dataType = "Integer")
private Integer merchantId;
/**
* 邮箱
*/
@ApiModelProperty(name = "staffEmail", notes = "邮箱", dataType = "String")
private String staffEmail;
/**
* 员工编码
*/
@ApiModelProperty(name = "staffCode", notes = "员工编码", dataType = "String")
private String staffCode;
/**
* 创建账户
*/
@ApiModelProperty(name = "createdAccount", notes = "创建账户", dataType = "String")
private String createdAccount;
/**
* 员工状态
*/
@ApiModelProperty(name = "statusName", notes = "员工状态", dataType = "String")
private String statusName;
/**
* 角色id
*/
@ApiModelProperty(name = "roleIds", notes = "角色id", dataType = "List")
private List<Integer> roleIds;
/**
* 密码
*/
@ApiModelProperty(name = "password", notes = "密码", dataType = "String")
private String password;
/**
* 商户
*/
@ApiModelProperty(name = "merchantName", notes = "商户", dataType = "String")
private String merchantName;
/**
* 角色名称
*/
@ApiModelProperty(name = "roleName", notes = "商户", dataType = "String")
private String roleName;
/**
* 有效期
*/
@ApiModelProperty(notes = "有效期")
private Integer effectiveTime;
/**
* 状态
*/
@ApiModelProperty(notes = "状态")
private Integer status;
private String visibleInferiorMerName;
/**
* 文件
*/
private MerchantFileResponse merchantFileResponse;
/**
* 账号
*/
private MerchantUserResponse merchantUserResponse;
/**
* 员工权限
*/
private List<AccountTypeTreeResponse> accountTypeTreeResponseList;
/**
* 企微号
*/
@ApiModelProperty(notes = "企微号", dataType = "String")
private String entmicroName;
/**
* 所属企微
*/
@ApiModelProperty(notes = "所属企微", dataType = "String")
private String belongingEntmicroName;
/**
* 员工oneid
*/
@ApiModelProperty(notes = "员工oneid", dataType = "String")
private String uuid;
/**
* 商户号
*/
@ApiModelProperty(example = "商户号")
private Integer merchantNo;
/**
* 微信
*/
//微信小程序openId
@ApiModelProperty(notes = "微信小程序openId", dataType = "String")
private String weChatOpenId;
//微信unionId
@ApiModelProperty(notes = "微信unionId", dataType = "String")
private String weChatUnionId;
//微信昵称
@ApiModelProperty(notes = "微信昵称", dataType = "String")
private String weChatNickName;
//微信头像
@ApiModelProperty(notes = "微信头像", dataType = "String")
private String weChatAvatarUrl;
//小程序appid
@ApiModelProperty(notes = "小程序appid", dataType = "String")
private String weChatAppId;
//微信手机号
@ApiModelProperty(notes = "微信手机号", dataType = "String")
private String weChatPhone;
@ApiModelProperty(notes = "员工标签:0-「1.0新车权益销售」,1-「1.1次新车精品升级」,2-「1.2次新车线上转化」,3-「1.3存量用户众筹」", dataType = "String")
private String staffLabel;
@ApiModelProperty(notes = "0-其他、1-销售部、2-售后部、3-客服部、4-续保部", dataType = "Integer")
private Integer department;
@ApiModelProperty(example = "创建来源")
private String createdSourceStr;
}