|
|
@ -1,10 +1,16 @@ |
|
|
|
package com.hnac.hzims.middle.systemlog.entity; |
|
|
|
package com.hnac.hzims.middle.systemlog.entity; |
|
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName; |
|
|
|
import com.baomidou.mybatisplus.annotation.TableName; |
|
|
|
|
|
|
|
|
|
|
|
import java.time.LocalDateTime; |
|
|
|
import java.time.LocalDateTime; |
|
|
|
import java.sql.Blob; |
|
|
|
import java.sql.Blob; |
|
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField; |
|
|
|
import com.baomidou.mybatisplus.annotation.TableField; |
|
|
|
|
|
|
|
|
|
|
|
import java.io.Serializable; |
|
|
|
import java.io.Serializable; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import io.swagger.annotations.ApiModel; |
|
|
|
|
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
|
|
import lombok.Data; |
|
|
|
import lombok.Data; |
|
|
|
import lombok.EqualsAndHashCode; |
|
|
|
import lombok.EqualsAndHashCode; |
|
|
|
import lombok.experimental.Accessors; |
|
|
|
import lombok.experimental.Accessors; |
|
|
@ -21,6 +27,7 @@ import lombok.experimental.Accessors; |
|
|
|
@EqualsAndHashCode(callSuper = false) |
|
|
|
@EqualsAndHashCode(callSuper = false) |
|
|
|
@Accessors(chain = true) |
|
|
|
@Accessors(chain = true) |
|
|
|
@TableName("hzims_sys_log") |
|
|
|
@TableName("hzims_sys_log") |
|
|
|
|
|
|
|
@ApiModel("系统日志统计对象") |
|
|
|
public class SysLog implements Serializable { |
|
|
|
public class SysLog implements Serializable { |
|
|
|
|
|
|
|
|
|
|
|
private static final long serialVersionUID = 1L; |
|
|
|
private static final long serialVersionUID = 1L; |
|
|
@ -35,165 +42,191 @@ public class SysLog implements Serializable { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 功能模块 |
|
|
|
* 功能模块 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("功能模块") |
|
|
|
@TableField("module_name") |
|
|
|
@TableField("module_name") |
|
|
|
private String moduleName; |
|
|
|
private String moduleName; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 租户ID |
|
|
|
* 租户ID |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("租户ID") |
|
|
|
@TableField("tenant_id") |
|
|
|
@TableField("tenant_id") |
|
|
|
private String tenantId; |
|
|
|
private String tenantId; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 服务器ip |
|
|
|
* 服务器ip |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("服务器ip") |
|
|
|
@TableField("server_ip") |
|
|
|
@TableField("server_ip") |
|
|
|
private String serverIp; |
|
|
|
private String serverIp; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 服务器地址 |
|
|
|
* 服务器地址 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("服务器地址") |
|
|
|
@TableField("server_host") |
|
|
|
@TableField("server_host") |
|
|
|
private String serverHost; |
|
|
|
private String serverHost; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 服务名称 |
|
|
|
* 服务名称 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("服务名称") |
|
|
|
@TableField("server_name") |
|
|
|
@TableField("server_name") |
|
|
|
private String serverName; |
|
|
|
private String serverName; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 环境 |
|
|
|
* 环境 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("环境") |
|
|
|
@TableField("env") |
|
|
|
@TableField("env") |
|
|
|
private String env; |
|
|
|
private String env; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 操作人Id |
|
|
|
* 操作人Id |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("操作人Id") |
|
|
|
@TableField("operation_user_id") |
|
|
|
@TableField("operation_user_id") |
|
|
|
private Long operationUserId; |
|
|
|
private Long operationUserId; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 操作人名称 |
|
|
|
* 操作人名称 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("操作人名称") |
|
|
|
@TableField("operation_user_name") |
|
|
|
@TableField("operation_user_name") |
|
|
|
private String operationUserName; |
|
|
|
private String operationUserName; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 请求路径 (操作地址) |
|
|
|
* 请求路径 (操作地址) |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty(" 请求路径 (操作地址)") |
|
|
|
@TableField("path") |
|
|
|
@TableField("path") |
|
|
|
private String path; |
|
|
|
private String path; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 用户代理 |
|
|
|
* 用户代理 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("用户代理") |
|
|
|
@TableField("user_agent") |
|
|
|
@TableField("user_agent") |
|
|
|
private String userAgent; |
|
|
|
private String userAgent; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 操作方式 |
|
|
|
* 操作方式 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("操作方式") |
|
|
|
@TableField("method") |
|
|
|
@TableField("method") |
|
|
|
private String method; |
|
|
|
private String method; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 方法类 |
|
|
|
* 方法类 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("方法类") |
|
|
|
@TableField("method_class") |
|
|
|
@TableField("method_class") |
|
|
|
private String methodClass; |
|
|
|
private String methodClass; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 方法名 |
|
|
|
* 方法名 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("方法名") |
|
|
|
@TableField("method_name") |
|
|
|
@TableField("method_name") |
|
|
|
private String methodName; |
|
|
|
private String methodName; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 方法执行时间 消耗时间 毫秒 |
|
|
|
* 方法执行时间 消耗时间 毫秒 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("方法执行时间 消耗时间 毫秒") |
|
|
|
@TableField("cost_time") |
|
|
|
@TableField("cost_time") |
|
|
|
private String costTime; |
|
|
|
private String costTime; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 方法入参 |
|
|
|
* 方法入参 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("方法入参") |
|
|
|
@TableField("parameter") |
|
|
|
@TableField("parameter") |
|
|
|
private String parameter; |
|
|
|
private String parameter; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 操作方法 |
|
|
|
* 操作方法 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("操作方法") |
|
|
|
@TableField("title") |
|
|
|
@TableField("title") |
|
|
|
private String title; |
|
|
|
private String title; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 方法描述 |
|
|
|
* 方法描述 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("方法描述") |
|
|
|
@TableField("action") |
|
|
|
@TableField("action") |
|
|
|
private String action; |
|
|
|
private String action; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 系统类型 |
|
|
|
* 系统类型 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("系统类型") |
|
|
|
@TableField("operator_type") |
|
|
|
@TableField("operator_type") |
|
|
|
private String operatorType; |
|
|
|
private String operatorType; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 操作人类别 |
|
|
|
* 操作人类别 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("操作人类别") |
|
|
|
@TableField("business_type") |
|
|
|
@TableField("business_type") |
|
|
|
private String businessType; |
|
|
|
private String businessType; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 返回结果 |
|
|
|
* 返回结果 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("返回结果") |
|
|
|
@TableField("json_result") |
|
|
|
@TableField("json_result") |
|
|
|
private String jsonResult; |
|
|
|
private String jsonResult; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 请求的Ip |
|
|
|
* 请求的Ip |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("请求的Ip") |
|
|
|
@TableField("local_ip") |
|
|
|
@TableField("local_ip") |
|
|
|
private String localIp; |
|
|
|
private String localIp; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 错误消息 |
|
|
|
* 错误消息 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("错误消息") |
|
|
|
@TableField("error_msg") |
|
|
|
@TableField("error_msg") |
|
|
|
private String errorMsg; |
|
|
|
private String errorMsg; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 操作时间 |
|
|
|
* 操作时间 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("操作时间") |
|
|
|
@TableField("operation_time") |
|
|
|
@TableField("operation_time") |
|
|
|
private LocalDateTime operationTime; |
|
|
|
private LocalDateTime operationTime; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 操作状态(0 正常 1 异常) |
|
|
|
* 操作状态(0 正常 1 异常) |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("操作状态") |
|
|
|
@TableField("status") |
|
|
|
@TableField("status") |
|
|
|
private Integer status; |
|
|
|
private Integer status; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 创建时间 |
|
|
|
* 创建时间 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("创建时间") |
|
|
|
@TableField("create_time") |
|
|
|
@TableField("create_time") |
|
|
|
private LocalDateTime createTime; |
|
|
|
private LocalDateTime createTime; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 更新时间 |
|
|
|
* 更新时间 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("更新时间") |
|
|
|
@TableField("update_time") |
|
|
|
@TableField("update_time") |
|
|
|
private LocalDateTime updateTime; |
|
|
|
private LocalDateTime updateTime; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 逻辑删除 (0 可用 1 删除) |
|
|
|
* 逻辑删除 (0 可用 1 删除) |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@ApiModelProperty("逻辑删除") |
|
|
|
@TableField("is_deleted") |
|
|
|
@TableField("is_deleted") |
|
|
|
private Integer isDeleted; |
|
|
|
private Integer isDeleted; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|