|
@@ -0,0 +1,77 @@
|
|
|
+package com.yh.saas.plugin.yiliangyiyun.entity;
|
|
|
+
|
|
|
+
|
|
|
+import java.io.Serializable;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotations.TableId;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.enums.IdType;
|
|
|
+import com.yh.saas.common.support.entity.BaseModel;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
+import lombok.experimental.Accessors;
|
|
|
+
|
|
|
+/**
|
|
|
+ * <p>
|
|
|
+ * 记录token
|
|
|
+ * </p>
|
|
|
+ *
|
|
|
+ * @author Gdc
|
|
|
+ * @since 2022-08-02
|
|
|
+ */
|
|
|
+@Data
|
|
|
+@EqualsAndHashCode(callSuper = true)
|
|
|
+@Accessors(chain = true)
|
|
|
+public class HyOperLog extends BaseModel<HyOperLog> {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 主键
|
|
|
+ */
|
|
|
+ @TableId(type = IdType.UUID)
|
|
|
+ private String id;
|
|
|
+ /**
|
|
|
+ * 日志模块
|
|
|
+ */
|
|
|
+ private String title;
|
|
|
+ /**
|
|
|
+ * ip地址
|
|
|
+ */
|
|
|
+ private String ip;
|
|
|
+ /**
|
|
|
+ * url地址
|
|
|
+ */
|
|
|
+ private String url;
|
|
|
+ /**
|
|
|
+ * 状态
|
|
|
+ */
|
|
|
+ private String status;
|
|
|
+ /**
|
|
|
+ * 错误信息
|
|
|
+ */
|
|
|
+ private String errMsg;
|
|
|
+ /**
|
|
|
+ * 方法名
|
|
|
+ */
|
|
|
+ private String method;
|
|
|
+ /**
|
|
|
+ * 请求
|
|
|
+ */
|
|
|
+ private String requestMethod;
|
|
|
+ /**
|
|
|
+ * 请求参数
|
|
|
+ */
|
|
|
+ private String requestValue;
|
|
|
+ /**
|
|
|
+ * 响应
|
|
|
+ */
|
|
|
+ private String jsonResult;
|
|
|
+
|
|
|
+
|
|
|
+ @Override
|
|
|
+ protected Serializable pkVal() {
|
|
|
+ return this.id;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|