package cn.stylefeng.guns.sys.modular.system.entity;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 登录记录
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2019-04-01
|
*/
|
@TableName("sys_login_log")
|
public class LoginLog implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "login_log_id", type = IdType.ID_WORKER)
|
private Long loginLogId;
|
|
/**
|
* 日志名称
|
*/
|
@TableField("log_name")
|
private String logName;
|
|
/**
|
* 管理员id
|
*/
|
@TableField("user_id")
|
private Long userId;
|
|
/**
|
* 创建时间
|
*/
|
@TableField(value = "create_time", fill = FieldFill.INSERT)
|
private Date createTime;
|
|
/**
|
* 是否执行成功
|
*/
|
@TableField("succeed")
|
private String succeed;
|
|
/**
|
* 具体消息
|
*/
|
@TableField("message")
|
private String message;
|
|
/**
|
* 登录ip
|
*/
|
@TableField("ip_address")
|
private String ipAddress;
|
|
|
public Long getLoginLogId() {
|
return loginLogId;
|
}
|
|
public void setLoginLogId(Long loginLogId) {
|
this.loginLogId = loginLogId;
|
}
|
|
public String getLogName() {
|
return logName;
|
}
|
|
public void setLogName(String logName) {
|
this.logName = logName;
|
}
|
|
public Long getUserId() {
|
return userId;
|
}
|
|
public void setUserId(Long userId) {
|
this.userId = userId;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getSucceed() {
|
return succeed;
|
}
|
|
public void setSucceed(String succeed) {
|
this.succeed = succeed;
|
}
|
|
public String getMessage() {
|
return message;
|
}
|
|
public void setMessage(String message) {
|
this.message = message;
|
}
|
|
public String getIpAddress() {
|
return ipAddress;
|
}
|
|
public void setIpAddress(String ipAddress) {
|
this.ipAddress = ipAddress;
|
}
|
|
@Override
|
public String toString() {
|
return "LoginLog{" +
|
"loginLogId=" + loginLogId +
|
", logName=" + logName +
|
", userId=" + userId +
|
", createTime=" + createTime +
|
", succeed=" + succeed +
|
", message=" + message +
|
", ipAddress=" + ipAddress +
|
"}";
|
}
|
}
|