/**
|
* Copyright (c) 2018 人人开源 All rights reserved.
|
*
|
* https://www.renren.io
|
*
|
* 版权所有,侵权必究!
|
*/
|
|
package com.zt.modules.log.excel;
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
import lombok.Data;
|
|
import java.util.Date;
|
|
/**
|
* 操作日志
|
*
|
* @author Mark sunlightcs@gmail.com
|
* @since 1.0.0
|
*/
|
@Data
|
public class SysLogOperationExcel {
|
|
@ColumnWidth(21)
|
@ExcelProperty("用户操作")
|
private String operation;
|
|
@ColumnWidth(30)
|
@ExcelProperty("请求URI")
|
private String requestUri;
|
|
@ExcelProperty("请求方式")
|
private String requestMethod;
|
|
@ColumnWidth(30)
|
@ExcelProperty("请求参数")
|
private String requestParams;
|
|
@ExcelProperty("请求时长(毫秒)")
|
private Integer requestTime;
|
|
@ColumnWidth(20)
|
@ExcelProperty("User-Agent")
|
private String userAgent;
|
|
@ColumnWidth(20)
|
@ExcelProperty("操作IP")
|
private String ip;
|
|
@ExcelProperty("状态")
|
private String status;
|
|
@ExcelProperty("用户名")
|
private String creatorName;
|
|
@ColumnWidth(30)
|
@ExcelProperty("创建时间")
|
private Date createDate;
|
|
}
|