|
|
|
package com.zhonglai.luhui.domain.sys;
|
|
|
|
|
|
|
|
|
|
|
|
import com.zhonglai.luhui.util.sql.BaseEntity;
|
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 操作日志记录对象 sys_oper_log
|
|
|
|
*
|
|
|
|
* @author 钟来
|
|
|
|
* @date 2024-04-15
|
|
|
|
*/
|
|
|
|
@ApiModel("操作日志记录")
|
|
|
|
public class SysOperLog extends BaseEntity
|
|
|
|
{
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
/** 日志主键 */
|
|
|
|
@ApiModelProperty("日志主键")
|
|
|
|
private java.math.BigInteger oper_id;
|
|
|
|
|
|
|
|
/** 模块标题 */
|
|
|
|
@ApiModelProperty("模块标题")
|
|
|
|
private String title;
|
|
|
|
|
|
|
|
/** 业务类型(0其它 1新增 2修改 3删除) */
|
|
|
|
@ApiModelProperty("业务类型(0其它 1新增 2修改 3删除)")
|
|
|
|
private Integer business_type;
|
|
|
|
|
|
|
|
/** 方法名称 */
|
|
|
|
@ApiModelProperty("方法名称")
|
|
|
|
private String method;
|
|
|
|
|
|
|
|
/** 请求方式 */
|
|
|
|
@ApiModelProperty("请求方式")
|
|
|
|
private String request_method;
|
|
|
|
|
|
|
|
/** 操作类别(0其它 1后台用户 2手机端用户) */
|
|
|
|
@ApiModelProperty("操作类别(0其它 1后台用户 2手机端用户)")
|
|
|
|
private Integer operator_type;
|
|
|
|
|
|
|
|
/** 操作人员 */
|
|
|
|
@ApiModelProperty("操作人员")
|
|
|
|
private String oper_name;
|
|
|
|
|
|
|
|
/** 部门名称 */
|
|
|
|
@ApiModelProperty("部门名称")
|
|
|
|
private String dept_name;
|
|
|
|
|
|
|
|
/** 请求URL */
|
|
|
|
@ApiModelProperty("请求URL")
|
|
|
|
private String oper_url;
|
|
|
|
|
|
|
|
/** 主机地址 */
|
|
|
|
@ApiModelProperty("主机地址")
|
|
|
|
private String oper_ip;
|
|
|
|
|
|
|
|
/** 操作地点 */
|
|
|
|
@ApiModelProperty("操作地点")
|
|
|
|
private String oper_location;
|
|
|
|
|
|
|
|
/** 请求参数 */
|
|
|
|
@ApiModelProperty("请求参数")
|
|
|
|
private String oper_param;
|
|
|
|
|
|
|
|
/** 返回参数 */
|
|
|
|
@ApiModelProperty("返回参数")
|
|
|
|
private String json_result;
|
|
|
|
|
|
|
|
/** 操作状态(0正常 1异常) */
|
|
|
|
@ApiModelProperty("操作状态(0正常 1异常)")
|
|
|
|
private Integer status;
|
|
|
|
|
|
|
|
/** 错误消息 */
|
|
|
|
@ApiModelProperty("错误消息")
|
|
|
|
private String error_msg;
|
|
|
|
|
|
|
|
/** 操作时间 */
|
|
|
|
@ApiModelProperty("操作时间")
|
|
|
|
private java.util.Date oper_time;
|
|
|
|
|
|
|
|
/** 消耗时间 */
|
|
|
|
@ApiModelProperty("消耗时间")
|
|
|
|
private java.math.BigInteger cost_time;
|
|
|
|
|
|
|
|
public void setOper_id(java.math.BigInteger oper_id)
|
|
|
|
{
|
|
|
|
this.oper_id = oper_id;
|
|
|
|
}
|
|
|
|
|
|
|
|
public java.math.BigInteger getOper_id()
|
|
|
|
{
|
|
|
|
return oper_id;
|
|
|
|
}
|
|
|
|
public void setTitle(String title)
|
|
|
|
{
|
|
|
|
this.title = title;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getTitle()
|
|
|
|
{
|
|
|
|
return title;
|
|
|
|
}
|
|
|
|
public void setBusiness_type(Integer business_type)
|
|
|
|
{
|
|
|
|
this.business_type = business_type;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Integer getBusiness_type()
|
|
|
|
{
|
|
|
|
return business_type;
|
|
|
|
}
|
|
|
|
public void setMethod(String method)
|
|
|
|
{
|
|
|
|
this.method = method;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getMethod()
|
|
|
|
{
|
|
|
|
return method;
|
|
|
|
}
|
|
|
|
public void setRequest_method(String request_method)
|
|
|
|
{
|
|
|
|
this.request_method = request_method;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getRequest_method()
|
|
|
|
{
|
|
|
|
return request_method;
|
|
|
|
}
|
|
|
|
public void setOperator_type(Integer operator_type)
|
|
|
|
{
|
|
|
|
this.operator_type = operator_type;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Integer getOperator_type()
|
|
|
|
{
|
|
|
|
return operator_type;
|
|
|
|
}
|
|
|
|
public void setOper_name(String oper_name)
|
|
|
|
{
|
|
|
|
this.oper_name = oper_name;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getOper_name()
|
|
|
|
{
|
|
|
|
return oper_name;
|
|
|
|
}
|
|
|
|
public void setDept_name(String dept_name)
|
|
|
|
{
|
|
|
|
this.dept_name = dept_name;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getDept_name()
|
|
|
|
{
|
|
|
|
return dept_name;
|
|
|
|
}
|
|
|
|
public void setOper_url(String oper_url)
|
|
|
|
{
|
|
|
|
this.oper_url = oper_url;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getOper_url()
|
|
|
|
{
|
|
|
|
return oper_url;
|
|
|
|
}
|
|
|
|
public void setOper_ip(String oper_ip)
|
|
|
|
{
|
|
|
|
this.oper_ip = oper_ip;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getOper_ip()
|
|
|
|
{
|
|
|
|
return oper_ip;
|
|
|
|
}
|
|
|
|
public void setOper_location(String oper_location)
|
|
|
|
{
|
|
|
|
this.oper_location = oper_location;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getOper_location()
|
|
|
|
{
|
|
|
|
return oper_location;
|
|
|
|
}
|
|
|
|
public void setOper_param(String oper_param)
|
|
|
|
{
|
|
|
|
this.oper_param = oper_param;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getOper_param()
|
|
|
|
{
|
|
|
|
return oper_param;
|
|
|
|
}
|
|
|
|
public void setJson_result(String json_result)
|
|
|
|
{
|
|
|
|
this.json_result = json_result;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getJson_result()
|
|
|
|
{
|
|
|
|
return json_result;
|
|
|
|
}
|
|
|
|
public void setStatus(Integer status)
|
|
|
|
{
|
|
|
|
this.status = status;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Integer getStatus()
|
|
|
|
{
|
|
|
|
return status;
|
|
|
|
}
|
|
|
|
public void setError_msg(String error_msg)
|
|
|
|
{
|
|
|
|
this.error_msg = error_msg;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getError_msg()
|
|
|
|
{
|
|
|
|
return error_msg;
|
|
|
|
}
|
|
|
|
public void setOper_time(java.util.Date oper_time)
|
|
|
|
{
|
|
|
|
this.oper_time = oper_time;
|
|
|
|
}
|
|
|
|
|
|
|
|
public java.util.Date getOper_time()
|
|
|
|
{
|
|
|
|
return oper_time;
|
|
|
|
}
|
|
|
|
public void setCost_time(java.math.BigInteger cost_time)
|
|
|
|
{
|
|
|
|
this.cost_time = cost_time;
|
|
|
|
}
|
|
|
|
|
|
|
|
public java.math.BigInteger getCost_time()
|
|
|
|
{
|
|
|
|
return cost_time;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String toString() {
|
|
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
|
|
.append("oper_id", getOper_id())
|
|
|
|
.append("title", getTitle())
|
|
|
|
.append("business_type", getBusiness_type())
|
|
|
|
.append("method", getMethod())
|
|
|
|
.append("request_method", getRequest_method())
|
|
|
|
.append("operator_type", getOperator_type())
|
|
|
|
.append("oper_name", getOper_name())
|
|
|
|
.append("dept_name", getDept_name())
|
|
|
|
.append("oper_url", getOper_url())
|
|
|
|
.append("oper_ip", getOper_ip())
|
|
|
|
.append("oper_location", getOper_location())
|
|
|
|
.append("oper_param", getOper_param())
|
|
|
|
.append("json_result", getJson_result())
|
|
|
|
.append("status", getStatus())
|
|
|
|
.append("error_msg", getError_msg())
|
|
|
|
.append("oper_time", getOper_time())
|
|
|
|
.append("cost_time", getCost_time())
|
|
|
|
.toString();
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|