SysOperLog.java 5.3 KB
Newer Older
RuoYi's avatar
RuoYi committed
1
package com.ruoyi.system.domain;
RuoYi's avatar
RuoYi committed
2 3

import java.util.Date;
4
import com.fasterxml.jackson.annotation.JsonFormat;
RuoYi's avatar
RuoYi committed
5 6 7
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.ColumnType;
import com.ruoyi.common.core.domain.BaseEntity;
RuoYi's avatar
RuoYi committed
8 9 10 11 12 13 14 15 16 17 18

/**
 * 操作日志记录表 oper_log
 * 
 * @author ruoyi
 */
public class SysOperLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日志主键 */
RuoYi's avatar
RuoYi committed
19
    @Excel(name = "操作序号", cellType = ColumnType.NUMERIC)
RuoYi's avatar
RuoYi committed
20 21 22
    private Long operId;

    /** 操作模块 */
RuoYi's avatar
RuoYi committed
23
    @Excel(name = "操作模块")
RuoYi's avatar
RuoYi committed
24 25 26
    private String title;

    /** 业务类型(0其它 1新增 2修改 3删除) */
RuoYi's avatar
RuoYi committed
27
    @Excel(name = "业务类型", readConverterExp = "0=其它,1=新增,2=修改,3=删除,4=授权,5=导出,6=导入,7=强退,8=生成代码,9=清空数据")
RuoYi's avatar
RuoYi committed
28 29 30 31 32 33
    private Integer businessType;

    /** 业务类型数组 */
    private Integer[] businessTypes;

    /** 请求方法 */
RuoYi's avatar
RuoYi committed
34
    @Excel(name = "请求方法")
RuoYi's avatar
RuoYi committed
35 36 37
    private String method;

    /** 请求方式 */
RuoYi's avatar
RuoYi committed
38
    @Excel(name = "请求方式")
RuoYi's avatar
RuoYi committed
39 40 41
    private String requestMethod;

    /** 操作类别(0其它 1后台用户 2手机端用户) */
RuoYi's avatar
RuoYi committed
42
    @Excel(name = "操作类别", readConverterExp = "0=其它,1=后台用户,2=手机端用户")
RuoYi's avatar
RuoYi committed
43 44 45
    private Integer operatorType;

    /** 操作人员 */
RuoYi's avatar
RuoYi committed
46
    @Excel(name = "操作人员")
RuoYi's avatar
RuoYi committed
47 48 49
    private String operName;

    /** 部门名称 */
RuoYi's avatar
RuoYi committed
50
    @Excel(name = "部门名称")
RuoYi's avatar
RuoYi committed
51 52 53
    private String deptName;

    /** 请求url */
RuoYi's avatar
RuoYi committed
54
    @Excel(name = "请求地址")
RuoYi's avatar
RuoYi committed
55 56 57
    private String operUrl;

    /** 操作地址 */
RuoYi's avatar
RuoYi committed
58
    @Excel(name = "操作地址")
RuoYi's avatar
RuoYi committed
59 60 61
    private String operIp;

    /** 操作地点 */
RuoYi's avatar
RuoYi committed
62
    @Excel(name = "操作地点")
RuoYi's avatar
RuoYi committed
63 64 65
    private String operLocation;

    /** 请求参数 */
RuoYi's avatar
RuoYi committed
66
    @Excel(name = "请求参数")
RuoYi's avatar
RuoYi committed
67 68 69
    private String operParam;

    /** 返回参数 */
RuoYi's avatar
RuoYi committed
70
    @Excel(name = "返回参数")
RuoYi's avatar
RuoYi committed
71 72 73
    private String jsonResult;

    /** 操作状态(0正常 1异常) */
RuoYi's avatar
RuoYi committed
74
    @Excel(name = "状态", readConverterExp = "0=正常,1=异常")
RuoYi's avatar
RuoYi committed
75 76 77
    private Integer status;

    /** 错误消息 */
RuoYi's avatar
RuoYi committed
78
    @Excel(name = "错误消息")
RuoYi's avatar
RuoYi committed
79 80 81
    private String errorMsg;

    /** 操作时间 */
82
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
RuoYi's avatar
RuoYi committed
83
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
RuoYi's avatar
RuoYi committed
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255
    private Date operTime;

    public Long getOperId()
    {
        return operId;
    }

    public void setOperId(Long operId)
    {
        this.operId = operId;
    }

    public String getTitle()
    {
        return title;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public Integer getBusinessType()
    {
        return businessType;
    }

    public void setBusinessType(Integer businessType)
    {
        this.businessType = businessType;
    }

    public Integer[] getBusinessTypes()
    {
        return businessTypes;
    }

    public void setBusinessTypes(Integer[] businessTypes)
    {
        this.businessTypes = businessTypes;
    }

    public String getMethod()
    {
        return method;
    }

    public void setMethod(String method)
    {
        this.method = method;
    }

    public String getRequestMethod()
    {
        return requestMethod;
    }

    public void setRequestMethod(String requestMethod)
    {
        this.requestMethod = requestMethod;
    }

    public Integer getOperatorType()
    {
        return operatorType;
    }

    public void setOperatorType(Integer operatorType)
    {
        this.operatorType = operatorType;
    }

    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;
    }

    public String getJsonResult()
    {
        return jsonResult;
    }

    public void setJsonResult(String jsonResult)
    {
        this.jsonResult = jsonResult;
    }

    public Integer getStatus()
    {
        return status;
    }

    public void setStatus(Integer status)
    {
        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;
    }
}