SysFunctionUsage.java 4.3 KB
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;




}