2021与蓝度共同重构项目,服务端
chenjiantian
2021-11-24 6bdb5dda11b8723ddc20a37b9cbcc1e1fdace13a
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
package com.sandu.common.log;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sandu.common.object.AbstractDO;
import lombok.Data;
 
/**
 * @author chenjiantian
 * @date 2021/7/20 14:53
 */
@Data
public class AccessLog extends AbstractDO {
 
    @TableId(type = IdType.AUTO)
    private Long id;
 
    private Long uid;
    /** 操作用户 */
    private String username;
 
    /** 描述 */
    private String description;
 
    /** 方法名 */
    private String method;
 
    /**
     * 类型 0-后台 1-前台
     */
    private Integer type;
 
    /** 参数 */
    private String params;
 
    /** 日志类型 0:正常日志,1异常日志*/
    private Integer logType;
 
    /** 请求ip */
    private String requestIp;
 
    /** 浏览器  */
    private String browser;
 
    /** 请求耗时 */
    private Long time;
 
    /** 异常详细  */
    private String exceptionDetail;
 
 
}