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.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 Date 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; }