luodangjia
2024-11-21 c8c0f4c93862bf18f804dcdc017ea7affc09bc90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
package com.ruoyi.system.api.model;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
import java.io.Serializable;
import java.time.LocalDateTime;
 
/**
 * <p>
 * 
 * </p>
 *
 * @author luodangjia
 * @since 2024-11-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_oper_log")
@ApiModel(value="SysOperLog对象", description="")
public class SysOperLog implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value = "日志主键")
    @TableId(value = "oper_id", type = IdType.AUTO)
    private Long operId;
 
    @ApiModelProperty(value = "模块标题")
    @TableField("title")
    private String title;
 
    @ApiModelProperty(value = "业务类型(0其它 1新增 2修改 3删除)")
    @TableField("business_type")
    private Integer businessType;
 
    @ApiModelProperty(value = "方法名称")
    @TableField("method")
    private String method;
 
    @ApiModelProperty(value = "请求方式")
    @TableField("request_method")
    private String requestMethod;
 
    @ApiModelProperty(value = "操作类别(0其它 1后台用户 2手机端用户)")
    @TableField("operator_type")
    private Integer operatorType;
 
    @ApiModelProperty(value = "操作人员")
    @TableField("oper_name")
    private String operName;
 
    @ApiModelProperty(value = "部门名称")
    @TableField("dept_name")
    private String deptName;
 
    @ApiModelProperty(value = "请求URL")
    @TableField("oper_url")
    private String operUrl;
 
    @ApiModelProperty(value = "主机地址")
    @TableField("oper_ip")
    private String operIp;
 
    @ApiModelProperty(value = "操作地点")
    @TableField("oper_location")
    private String operLocation;
 
    @ApiModelProperty(value = "请求参数")
    @TableField("oper_param")
    private String operParam;
 
    @ApiModelProperty(value = "返回参数")
    @TableField("json_result")
    private String jsonResult;
 
    @ApiModelProperty(value = "操作状态(0正常 1异常)")
    @TableField("status")
    private Integer status;
 
    @ApiModelProperty(value = "错误消息")
    @TableField("error_msg")
    private String errorMsg;
 
    @ApiModelProperty(value = "操作时间")
    @TableField("oper_time")
    private LocalDateTime operTime;
 
    @ApiModelProperty(value = "消耗时间")
    @TableField("cost_time")
    private Long costTime;
 
 
}