提交 | 用户 | 时间
|
8286c6
|
1 |
package cn.stylefeng.guns.sys.modular.rest.entity; |
懒 |
2 |
|
|
3 |
import com.baomidou.mybatisplus.annotation.*; |
|
4 |
|
|
5 |
import java.io.Serializable; |
|
6 |
import java.util.Date; |
|
7 |
|
|
8 |
/** |
|
9 |
* <p> |
|
10 |
* 登录记录 |
|
11 |
* </p> |
|
12 |
* |
|
13 |
* @author stylefeng |
|
14 |
* @since 2019-04-01 |
|
15 |
*/ |
|
16 |
@TableName("sys_login_log") |
|
17 |
public class RestLoginLog implements Serializable { |
|
18 |
|
|
19 |
private static final long serialVersionUID = 1L; |
|
20 |
|
|
21 |
/** |
|
22 |
* 主键 |
|
23 |
*/ |
|
24 |
@TableId(value = "login_log_id", type = IdType.ID_WORKER) |
|
25 |
private Long loginLogId; |
|
26 |
|
|
27 |
/** |
|
28 |
* 日志名称 |
|
29 |
*/ |
|
30 |
@TableField("log_name") |
|
31 |
private String logName; |
|
32 |
|
|
33 |
/** |
|
34 |
* 管理员id |
|
35 |
*/ |
|
36 |
@TableField("user_id") |
|
37 |
private Long userId; |
|
38 |
|
|
39 |
/** |
|
40 |
* 创建时间 |
|
41 |
*/ |
|
42 |
@TableField(value = "create_time", fill = FieldFill.INSERT) |
|
43 |
private Date createTime; |
|
44 |
|
|
45 |
/** |
|
46 |
* 是否执行成功 |
|
47 |
*/ |
|
48 |
@TableField("succeed") |
|
49 |
private String succeed; |
|
50 |
|
|
51 |
/** |
|
52 |
* 具体消息 |
|
53 |
*/ |
|
54 |
@TableField("message") |
|
55 |
private String message; |
|
56 |
|
|
57 |
/** |
|
58 |
* 登录ip |
|
59 |
*/ |
|
60 |
@TableField("ip_address") |
|
61 |
private String ipAddress; |
|
62 |
|
|
63 |
|
|
64 |
public Long getLoginLogId() { |
|
65 |
return loginLogId; |
|
66 |
} |
|
67 |
|
|
68 |
public void setLoginLogId(Long loginLogId) { |
|
69 |
this.loginLogId = loginLogId; |
|
70 |
} |
|
71 |
|
|
72 |
public String getLogName() { |
|
73 |
return logName; |
|
74 |
} |
|
75 |
|
|
76 |
public void setLogName(String logName) { |
|
77 |
this.logName = logName; |
|
78 |
} |
|
79 |
|
|
80 |
public Long getUserId() { |
|
81 |
return userId; |
|
82 |
} |
|
83 |
|
|
84 |
public void setUserId(Long userId) { |
|
85 |
this.userId = userId; |
|
86 |
} |
|
87 |
|
|
88 |
public Date getCreateTime() { |
|
89 |
return createTime; |
|
90 |
} |
|
91 |
|
|
92 |
public void setCreateTime(Date createTime) { |
|
93 |
this.createTime = createTime; |
|
94 |
} |
|
95 |
|
|
96 |
public String getSucceed() { |
|
97 |
return succeed; |
|
98 |
} |
|
99 |
|
|
100 |
public void setSucceed(String succeed) { |
|
101 |
this.succeed = succeed; |
|
102 |
} |
|
103 |
|
|
104 |
public String getMessage() { |
|
105 |
return message; |
|
106 |
} |
|
107 |
|
|
108 |
public void setMessage(String message) { |
|
109 |
this.message = message; |
|
110 |
} |
|
111 |
|
|
112 |
public String getIpAddress() { |
|
113 |
return ipAddress; |
|
114 |
} |
|
115 |
|
|
116 |
public void setIpAddress(String ipAddress) { |
|
117 |
this.ipAddress = ipAddress; |
|
118 |
} |
|
119 |
|
|
120 |
@Override |
|
121 |
public String toString() { |
|
122 |
return "LoginLog{" + |
|
123 |
"loginLogId=" + loginLogId + |
|
124 |
", logName=" + logName + |
|
125 |
", userId=" + userId + |
|
126 |
", createTime=" + createTime + |
|
127 |
", succeed=" + succeed + |
|
128 |
", message=" + message + |
|
129 |
", ipAddress=" + ipAddress + |
|
130 |
"}"; |
|
131 |
} |
|
132 |
} |