luodangjia
2024-12-10 ee7ce5d1cbf80bee0a15c1e5bc5eaa30858d812b
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
package com.hollywood.common.model;
 
import cn.afterturn.easypoi.excel.annotation.Excel;
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.time.LocalDateTime;
 
/**
 * <p>
 * 操作日志
 * </p>
 *
 * @author xiaochen
 * @since 2022-09-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("oper_log")
@ApiModel(value = "OperLog对象", description = "操作日志")
public class OperLog {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
 
    @ApiModelProperty(value = "用户名")
    @TableField("oper_user_name")
    @Excel(name = "用户名")
    private String operUserName;
 
    @ApiModelProperty(value = "账号")
    @TableField("oper_account")
    @Excel(name = "账号")
    private String operAccount;
 
    @ApiModelProperty(value = "操作时间")
    @TableField("oper_operation_time")
    private LocalDateTime operOperationTime;
 
    @ApiModelProperty(value = "IP地址")
    @TableField("oper_ip")
    @Excel(name = "IP地址")
    private String operIp;
 
    @ApiModelProperty(value = "操作模块")
    @TableField("oper_model")
    @Excel(name = "操作模块")
    private String operModel;
 
    @ApiModelProperty(value = "操作类型")
    @TableField("oper_type")
    @Excel(name = "操作类型")
    private String operType;
 
    @ApiModelProperty(value = "操作描述")
    @TableField("oper_desc")
    @Excel(name = "操作描述")
    private String operDesc;
 
    @ApiModelProperty(value = "请求uri地址")
    @TableField("oper_uri")
    @Excel(name = "请求uri地址")
    private String operUri;
 
    @ApiModelProperty(value = "请求方法")
    @TableField("oper_method")
    @Excel(name = "请求方法")
    private String operMethod;
 
    @ApiModelProperty(value = "请求参数")
    @TableField("oper_req_param")
    @Excel(name = "请求参数")
    private String operReqParam;
 
    @ApiModelProperty(value = "操作时间")
    @TableField(exist = false)
    @Excel(name = "操作时间")
    private String operOperationTimeExport;
 
}