234 lines
5.2 KiB
Java
Raw Normal View History

2018-10-07 14:16:47 +08:00
package com.ruoyi.system.domain;
2018-07-09 08:44:52 +08:00
2018-10-03 23:11:09 +08:00
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
2018-07-09 08:44:52 +08:00
import java.util.Date;
2018-10-07 14:16:47 +08:00
import com.ruoyi.common.annotation.Excel;
2019-03-08 14:44:38 +08:00
import com.ruoyi.common.core.domain.BaseEntity;
2018-07-09 08:44:52 +08:00
/**
2018-10-03 23:11:09 +08:00
* 操作日志记录表 oper_log
2018-07-09 08:44:52 +08:00
*
* @author ruoyi
*/
2018-10-07 14:16:47 +08:00
public class SysOperLog extends BaseEntity
2018-07-09 08:44:52 +08:00
{
private static final long serialVersionUID = 1L;
2018-07-14 23:15:17 +08:00
2018-07-09 08:44:52 +08:00
/** 日志主键 */
2018-07-14 23:15:17 +08:00
@Excel(name = "操作序号")
2018-07-22 23:05:50 +08:00
private Long operId;
2018-07-14 23:15:17 +08:00
2018-07-09 08:44:52 +08:00
/** 操作模块 */
2018-07-14 23:15:17 +08:00
@Excel(name = "操作模块")
2018-07-09 08:44:52 +08:00
private String title;
2018-07-14 23:15:17 +08:00
2018-10-07 14:16:47 +08:00
/** 业务类型0其它 1新增 2修改 3删除 */
@Excel(name = "业务类型", readConverterExp = "0=其它,1=新增,2=修改,3=删除,4=授权,5=导出,6=导入,7=强退,8=生成代码,9=清空数据")
2018-08-18 23:51:19 +08:00
private Integer businessType;
2018-07-14 23:15:17 +08:00
2018-07-09 08:44:52 +08:00
/** 请求方法 */
2018-07-14 23:15:17 +08:00
@Excel(name = "请求方法")
2018-07-09 08:44:52 +08:00
private String method;
2018-07-14 23:15:17 +08:00
2018-10-07 14:16:47 +08:00
/** 操作类别0其它 1后台用户 2手机端用户 */
@Excel(name = "操作类别", readConverterExp = "0=其它,1=后台用户,2=手机端用户")
2018-08-18 23:51:19 +08:00
private Integer operatorType;
2018-07-14 23:15:17 +08:00
2018-07-09 08:44:52 +08:00
/** 操作人员 */
2018-07-14 23:15:17 +08:00
@Excel(name = "操作人员")
2018-07-09 08:44:52 +08:00
private String operName;
2018-07-14 23:15:17 +08:00
2018-07-09 08:44:52 +08:00
/** 部门名称 */
2018-07-14 23:15:17 +08:00
@Excel(name = "部门名称")
2018-07-09 08:44:52 +08:00
private String deptName;
2018-07-14 23:15:17 +08:00
2018-07-09 08:44:52 +08:00
/** 请求url */
2018-07-14 23:15:17 +08:00
@Excel(name = "请求地址")
2018-07-09 08:44:52 +08:00
private String operUrl;
2018-07-14 23:15:17 +08:00
2018-07-09 08:44:52 +08:00
/** 操作地址 */
2018-07-14 23:15:17 +08:00
@Excel(name = "操作地址")
2018-07-09 08:44:52 +08:00
private String operIp;
2018-07-14 23:15:17 +08:00
2018-07-09 08:44:52 +08:00
/** 操作地点 */
2018-07-14 23:15:17 +08:00
@Excel(name = "操作地点")
2018-07-09 08:44:52 +08:00
private String operLocation;
2018-07-14 23:15:17 +08:00
2018-07-09 08:44:52 +08:00
/** 请求参数 */
2018-07-14 23:15:17 +08:00
@Excel(name = "请求参数")
2018-07-09 08:44:52 +08:00
private String operParam;
2018-07-14 23:15:17 +08:00
2018-10-07 14:16:47 +08:00
/** 操作状态0正常 1异常 */
@Excel(name = "状态", readConverterExp = "0=正常,1=异常")
2018-08-18 23:51:19 +08:00
private Integer status;
2018-07-14 23:15:17 +08:00
2018-07-09 08:44:52 +08:00
/** 错误消息 */
2018-07-14 23:15:17 +08:00
@Excel(name = "错误消息")
2018-07-09 08:44:52 +08:00
private String errorMsg;
2018-07-14 23:15:17 +08:00
2018-07-09 08:44:52 +08:00
/** 操作时间 */
@Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
2018-07-09 08:44:52 +08:00
private Date operTime;
2018-07-22 23:05:50 +08:00
public Long getOperId()
2018-07-09 08:44:52 +08:00
{
return operId;
}
2018-07-22 23:05:50 +08:00
public void setOperId(Long operId)
2018-07-09 08:44:52 +08:00
{
this.operId = operId;
}
public String getTitle()
{
return title;
}
public void setTitle(String title)
{
this.title = title;
}
2018-08-18 23:51:19 +08:00
public Integer getBusinessType()
2018-07-09 08:44:52 +08:00
{
2018-08-18 23:51:19 +08:00
return businessType;
2018-07-09 08:44:52 +08:00
}
2018-08-18 23:51:19 +08:00
public void setBusinessType(Integer businessType)
2018-07-09 08:44:52 +08:00
{
2018-08-18 23:51:19 +08:00
this.businessType = businessType;
2018-07-09 08:44:52 +08:00
}
public String getMethod()
{
return method;
}
public void setMethod(String method)
{
this.method = method;
}
2018-08-18 23:51:19 +08:00
public Integer getOperatorType()
2018-07-09 08:44:52 +08:00
{
2018-08-18 23:51:19 +08:00
return operatorType;
2018-07-09 08:44:52 +08:00
}
2018-08-18 23:51:19 +08:00
public void setOperatorType(Integer operatorType)
2018-07-09 08:44:52 +08:00
{
2018-08-18 23:51:19 +08:00
this.operatorType = operatorType;
2018-07-09 08:44:52 +08:00
}
public String getOperName()
{
return operName;
}
public void setOperName(String operName)
{
this.operName = operName;
}
public String getDeptName()
{
return deptName;
}
public void setDeptName(String deptName)
{
this.deptName = deptName;
}
public String getOperUrl()
{
return operUrl;
}
public void setOperUrl(String operUrl)
{
this.operUrl = operUrl;
}
public String getOperIp()
{
return operIp;
}
public void setOperIp(String operIp)
{
this.operIp = operIp;
}
public String getOperLocation()
{
return operLocation;
}
public void setOperLocation(String operLocation)
{
this.operLocation = operLocation;
}
public String getOperParam()
{
return operParam;
}
public void setOperParam(String operParam)
{
this.operParam = operParam;
}
2018-08-18 23:51:19 +08:00
public Integer getStatus()
2018-07-09 08:44:52 +08:00
{
return status;
}
2018-08-18 23:51:19 +08:00
public void setStatus(Integer status)
2018-07-09 08:44:52 +08:00
{
this.status = status;
}
public String getErrorMsg()
{
return errorMsg;
}
public void setErrorMsg(String errorMsg)
{
this.errorMsg = errorMsg;
}
public Date getOperTime()
{
return operTime;
}
public void setOperTime(Date operTime)
{
this.operTime = operTime;
}
@Override
2018-10-03 23:11:09 +08:00
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("operId", getOperId())
.append("title", getTitle())
.append("businessType", getBusinessType())
.append("method", getMethod())
.append("operatorType", getOperatorType())
.append("operName", getOperName())
.append("deptName", getDeptName())
.append("operUrl", getOperUrl())
.append("operIp", getOperIp())
.append("operLocation", getOperLocation())
.append("operParam", getOperParam())
.append("status", getStatus())
.append("errorMsg", getErrorMsg())
.append("operTime", getOperTime())
.toString();
2018-07-09 08:44:52 +08:00
}
}