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_user",fill = FieldFill.INSERT)
|
private String createUser;
|
|
|
}
|