UserLogExcel
This commit is contained in:
@@ -0,0 +1,65 @@
|
|||||||
|
package com.njcn.system.pojo.dto.excel;
|
||||||
|
|
||||||
|
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @version 1.0.0
|
||||||
|
* @author: chenchao
|
||||||
|
* @date: 2022/07/18 11:04
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class UserLogExcel implements Serializable {
|
||||||
|
|
||||||
|
@Excel(name = "id主键", width = 20)
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
@Excel(name = "登录名", width = 20)
|
||||||
|
private String loginName;
|
||||||
|
|
||||||
|
@Excel(name = "用户名", width = 20)
|
||||||
|
private String userName;
|
||||||
|
|
||||||
|
@Excel(name = "操作ip", width = 20)
|
||||||
|
private String ip;
|
||||||
|
|
||||||
|
@Excel(name = "操作内容", width = 20)
|
||||||
|
private String operate;
|
||||||
|
|
||||||
|
@Excel(name = "操作类型", width = 20)
|
||||||
|
private String operateType;
|
||||||
|
|
||||||
|
@Excel(name = "操作结果", replace = {"失败_0", "成功_1"}, width = 20)
|
||||||
|
private Integer result;
|
||||||
|
|
||||||
|
@Excel(name = "失败原因", width = 20)
|
||||||
|
private String failReason;
|
||||||
|
|
||||||
|
@Excel(name = "时间等级(严重度)", replace = {"普通_0", "中等_1", "严重_2"}, width = 20)
|
||||||
|
private Integer level;
|
||||||
|
|
||||||
|
@Excel(name = "事件类型", replace = {"业务事件_0", "系统事件_1"}, width = 20)
|
||||||
|
private Integer type;
|
||||||
|
|
||||||
|
@Excel(name = "模块名称", width = 20)
|
||||||
|
private String serviceName;
|
||||||
|
|
||||||
|
@Excel(name = "告警标志", replace = {"未告警_0", "已告警_1"}, width = 20)
|
||||||
|
private Integer state;
|
||||||
|
|
||||||
|
@Excel(name = "创建用户", width = 20)
|
||||||
|
private String createBy;
|
||||||
|
|
||||||
|
@Excel(name = "创建时间", format = "yyyy-MM-dd HH:mm:ss", width = 20)
|
||||||
|
private LocalDateTime createTime;
|
||||||
|
|
||||||
|
@Excel(name = "更新用户", width = 20)
|
||||||
|
private String updateBy;
|
||||||
|
|
||||||
|
@Excel(name = "更新时间", format = "yyyy-MM-dd HH:mm:ss", width = 20)
|
||||||
|
private LocalDateTime updateTime;
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user