AdminLoginModel.java
1.5 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
package com.xkl.model;
import lombok.AllArgsConstructor;
import lombok.Data;
/**
* 管理员登录后的返回信息
*/
@Data
public class AdminLoginModel {
public long adminId;
public String adminAccount;
public long comId;
public String comName;
//用户id
private String userId;
public String token;
public AdminLoginModel(long adminId, String adminAccount, long comId, String comName, String userId, String token) {
this.adminId = adminId;
this.adminAccount = adminAccount;
this.comId = comId;
this.comName = comName;
this.userId = userId;
this.token = token;
}
public long getAdminId() {
return adminId;
}
public void setAdminId(long adminId) {
this.adminId = adminId;
}
public String getAdminAccount() {
return adminAccount;
}
public void setAdminAccount(String adminAccount) {
this.adminAccount = adminAccount;
}
public long getComId() {
return comId;
}
public void setComId(long comId) {
this.comId = comId;
}
public String getComName() {
return comName;
}
public void setComName(String comName) {
this.comName = comName;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
}