StaffResponse.java
3.9 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
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;
}