package cn.stylefeng.guns.sys.modular.system.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import java.util.Date;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 操作日志
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2019-04-01
|
*/
|
@TableName("sys_operation_log")
|
public class OperationLog implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "operation_log_id", type = IdType.ID_WORKER)
|
private Long operationLogId;
|
|
/**
|
* 日志类型(字典)
|
*/
|
@TableField("log_type")
|
private String logType;
|
|
/**
|
* 日志名称
|
*/
|
@TableField("log_name")
|
private String logName;
|
|
/**
|
* 用户id
|
*/
|
@TableField("user_id")
|
private Long userId;
|
|
/**
|
* 类名称
|
*/
|
@TableField("class_name")
|
private String className;
|
|
/**
|
* 方法名称
|
*/
|
@TableField("method")
|
private String method;
|
|
/**
|
* 创建时间
|
*/
|
@TableField(value = "create_time", fill = FieldFill.INSERT)
|
private Date createTime;
|
|
/**
|
* 是否成功(字典)
|
*/
|
@TableField("succeed")
|
private String succeed;
|
|
/**
|
* 备注
|
*/
|
@TableField("message")
|
private String message;
|
|
|
public Long getOperationLogId() {
|
return operationLogId;
|
}
|
|
public void setOperationLogId(Long operationLogId) {
|
this.operationLogId = operationLogId;
|
}
|
|
public String getLogType() {
|
return logType;
|
}
|
|
public void setLogType(String logType) {
|
this.logType = logType;
|
}
|
|
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 String getClassName() {
|
return className;
|
}
|
|
public void setClassName(String className) {
|
this.className = className;
|
}
|
|
public String getMethod() {
|
return method;
|
}
|
|
public void setMethod(String method) {
|
this.method = method;
|
}
|
|
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;
|
}
|
|
@Override
|
public String toString() {
|
return "OperationLog{" +
|
"operationLogId=" + operationLogId +
|
", logType=" + logType +
|
", logName=" + logName +
|
", userId=" + userId +
|
", className=" + className +
|
", method=" + method +
|
", createTime=" + createTime +
|
", succeed=" + succeed +
|
", message=" + message +
|
"}";
|
}
|
}
|