lyh
2025-01-16 700ac5685214d37f128b3ad3dfda59e80381b9f6
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
package org.jeecg.modules.dnc.entity;
 
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.jeecgframework.poi.excel.annotation.Excel;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * *  @Description: 日志表
 * @author clown
 * * @date 2023/12/4
 */
@Data
@NoArgsConstructor
@TableName(value = "nc_log_info")
public class NcLogInfo implements Serializable {
    @TableId
    private String id;
    /*模块*/
    @Excel(name = "模块",width = 15)
    private String moduleInfo;
    /**
     * 日志内容
     */
    @Excel(name = "日志内容",width = 15)
    private String logContent;
    /*功能*/
    /**
     * 操作类型( 2添加,3修改,4删除  7 其他)
     */
    private Integer operateType;
 
    /**
     * 操作类型( 2添加,3修改,4删除  7 其他)
     */
    @Excel(name = "操作类型",width = 15)
 
    private transient String operateTypeStr;
 
    /**
     * IP
     */
    @Excel(name = "IP",width = 15)
    private String ip;
    /**
     * 账号
     */
    @Excel(name = "账号",width = 15)
    private String userName;
    /*姓名*/
    private String nickName;
    /**
     * 备注/仅修改使用储存修改前的数据
     */
    private String remark;
 
    @Excel(name = "操作时间", width = 20,format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
 
    @Excel(name = "操作人",width = 15)
    @TableField(value = "create_by",fill = FieldFill.INSERT)
    private String createBy;
 
 
}