fangyuan
2022-11-17 059eebfe1c54750e74e290ed7503e2cbf3f2f740
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
package com.ycl.entity.user.vo;
 
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.time.LocalDateTime;
import java.util.Date;
 
@Data
public class UmsAdminLogVO {
 
    @TableId(value = "id", type = IdType.AUTO)
    @ExcelIgnore
    private Long id;
 
    @ExcelProperty(index = 3, value = "操作人员")
    private String adminId;
 
    @ExcelProperty(index = 0, value = "日志时间", format = "YYYY-mm-dd HH:mm:ss")
    private LocalDateTime createTime;
 
    @ExcelProperty(index = 4, value = "IP地址")
    private String ip;
 
    @ExcelIgnore
    private String address;
 
    @ApiModelProperty(value = "浏览器登录类型")
    @ExcelProperty(index = 1, value = "终端设备")
    private String userAgent;
 
    @ApiModelProperty(value = "操作类型")
    @ExcelProperty(index = 2, value = "操作类型")
    private String operationType;
 
    @ApiModelProperty(value = "内容")
    @ExcelProperty(index = 5, value = "内容")
    private String contain;
}