Browse Source

Merge branch 'master' of http://124.70.58.209:3000/ytrd-project-management/BaseMonitor

gao.qiang 2 years ago
parent
commit
0fbd7eff4b

+ 66 - 0
base-common/src/main/java/com/ozs/common/core/domain/vo/SysLoginInfoVo.java

@@ -0,0 +1,66 @@
+package com.ozs.common.core.domain.vo;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ozs.common.annotation.Excel;
+import com.ozs.common.vo.PageVo;
+import lombok.Data;
+
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * @author wyy
+ * @subject
+ * @creat 2023/3/15
+ */
+@Data
+public class SysLoginInfoVo extends PageVo implements Serializable {
+    private static final long serialVersionUID = 1L;
+    /**
+     * 序号
+     */
+    private Long infoId;
+
+    /**
+     * 用户账号
+     */
+    private String userName;
+
+    /**
+     * 登录状态
+     */
+    private String status;
+
+    /**
+     * 登录地址
+     */
+    private String ipaddr;
+
+    /**
+     * 登录地点
+     */
+    private String loginLocation;
+
+    /**
+     * 浏览器
+     */
+    private String browser;
+
+    /**
+     * 操作系统
+     */
+    private String os;
+
+    /**
+     * 提示消息
+     */
+    private String msg;
+
+    /**
+     * 访问时间
+     */
+    @JsonFormat(
+            pattern = "yyyy-MM-dd HH:mm:ss"
+    )
+    private Date loginTime;
+}

+ 107 - 0
base-common/src/main/java/com/ozs/common/core/domain/vo/SysOperlogVo.java

@@ -0,0 +1,107 @@
+package com.ozs.common.core.domain.vo;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ozs.common.annotation.Excel;
+import com.ozs.common.vo.PageVo;
+import lombok.Data;
+
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * @author wyy
+ * @subject
+ * @creat 2023/3/15
+ */
+@Data
+public class SysOperlogVo extends PageVo implements Serializable {
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 操作序号
+     */
+    private Long operId;
+
+    /**
+     * 操作模块
+     */
+    private String title;
+
+    /**
+     * 业务类型
+     */
+    private Integer businessType;
+    private Integer[] businessTypes;
+
+    /**
+     * 请求方法
+     */
+    private String method;
+
+    /**
+     * 请求方式
+     */
+    private String requestMethod;
+
+    /**
+     * 操作类别
+     */
+    private Integer operatorType;
+    @Excel(
+            name = "操作人员"
+    )
+    /**
+     * 操作人员
+     */
+    private String userId;
+
+    /**
+     * 部门名称
+     */
+    private String deptName;
+    @Excel(
+            name = "请求地址"
+    )
+    /**
+     * 请求地址
+     */
+    private String operUrl;
+
+    /**
+     * 操作地址
+     */
+    private String operIp;
+
+    /**
+     * 操作地点
+     */
+    private String operLocation;
+
+    /**
+     * 请求参数
+     */
+    private String operParam;
+
+    /**
+     * 返回参数
+     */
+    private String jsonResult;
+
+    /**
+     * 状态
+     */
+    private Integer status;
+
+    /**
+     * 错误消息
+     */
+    private String errorMsg;
+
+    /**
+     * 操作时间
+     */
+    @JsonFormat(
+            pattern = "yyyy-MM-dd HH:mm:ss"
+    )
+    private Date operTime;
+}