SysFunctionUsage.java
4.3 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
package com.skua.modules.functionUsage.entity;
import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
/**
* 功能使用情况
*/
@Data
@TableName("sys_function_usage")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="sys_function_usage对象", description="功能使用情况")
public class SysFunctionUsage {
/**id*/
@TableId(type = IdType.ID_WORKER_STR)
@ApiModelProperty(value = "id")
private String id;
/**日志类型(1登录日志,2操作日志)*/
@Excel(name = "日志类型(1登录日志,2操作日志)", width = 15)
@ApiModelProperty(value = "日志类型(1登录日志,2操作日志)")
private Integer logType;
/**操作用户id*/
@Excel(name = "操作用户id", width = 15)
@ApiModelProperty(value = "操作用户id")
private String userId;
/**操作用户名称*/
@Excel(name = "操作用户名称", width = 15)
@ApiModelProperty(value = "操作用户名称")
private String userName;
/**IP*/
@Excel(name = "IP", width = 15)
@ApiModelProperty(value = "IP")
private String ip;
/**耗时*/
@Excel(name = "耗时", width = 15)
@ApiModelProperty(value = "耗时")
private Integer costTime;
/**耗时*/
@Excel(name = "耗时", width = 15)
@ApiModelProperty(value = "耗时")
private String costTimeText;
/**创建人*/
@Excel(name = "创建人", width = 15)
@ApiModelProperty(value = "创建人")
private String createBy;
/**创建时间*/
@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建时间")
private Date createTime;
/**更新人*/
@Excel(name = "更新人", width = 15)
@ApiModelProperty(value = "更新人")
private String updateBy;
/**更新时间*/
@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "更新时间")
private Date updateTime;
/**客户端类型*/
@Excel(name = "客户端类型", width = 15)
@ApiModelProperty(value = "客户端类型")
private String clientType;
/**角色id*/
@Excel(name = "角色id", width = 15)
@ApiModelProperty(value = "角色id")
private String roleId;
/**角色名*/
@Excel(name = "角色名", width = 15)
@ApiModelProperty(value = "角色名")
private String roleName;
/**功能菜单id*/
@Excel(name = "功能菜单id", width = 15)
@ApiModelProperty(value = "功能菜单id")
private String menuId;
/**功能菜单名*/
@Excel(name = "功能菜单名", width = 15)
@ApiModelProperty(value = "功能菜单名")
private String menuName;
/**功能菜单树路径id*/
@Excel(name = "功能菜单树路径id", width = 15)
@ApiModelProperty(value = "功能菜单树路径id")
private String parentMenuIds;
/**功能菜单树路径名*/
@Excel(name = "功能菜单树路径名", width = 15)
@ApiModelProperty(value = "功能菜单树路径名")
private String parentMenuNames;
/**手机id*/
@Excel(name = "手机id", width = 15)
@ApiModelProperty(value = "手机id")
private String phoneId;
/**设备机型*/
@Excel(name = "设备机型", width = 15)
@ApiModelProperty(value = "设备机型")
private String phoneType;
/**浏览器类型*/
@Excel(name = "浏览器类型", width = 15)
@ApiModelProperty(value = "浏览器类型")
private String browserType;
/**浏览器版本*/
@Excel(name = "浏览器版本", width = 15)
@ApiModelProperty(value = "浏览器版本")
private String browserVersion;
/**设备系统*/
@Excel(name = "设备系统", width = 15)
@ApiModelProperty(value = "设备系统")
private String phoneSystem;
}