From 4494a005613728c9dc22d018bca42ef5d3ebcf69 Mon Sep 17 00:00:00 2001
From: xiejun <xiejun@vci-tech.com>
Date: 星期二, 14 一月 2025 20:41:47 +0800
Subject: [PATCH] 产品型号集成,类型转换,人员组织加日志,申请接口引用码段值校验
---
Source/BladeX-Tool/blade-starter-log/src/main/java/org/springblade/core/log/model/LogAbstract.java | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 107 insertions(+), 0 deletions(-)
diff --git a/Source/BladeX-Tool/blade-starter-log/src/main/java/org/springblade/core/log/model/LogAbstract.java b/Source/BladeX-Tool/blade-starter-log/src/main/java/org/springblade/core/log/model/LogAbstract.java
new file mode 100644
index 0000000..83ae2f9
--- /dev/null
+++ b/Source/BladeX-Tool/blade-starter-log/src/main/java/org/springblade/core/log/model/LogAbstract.java
@@ -0,0 +1,107 @@
+/*
+ * Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * Neither the name of the dreamlu.net developer nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ * Author: Chill 搴勯獮 (smallchill@163.com)
+ */
+package org.springblade.core.log.model;
+
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.databind.annotation.JsonSerialize;
+import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
+import lombok.Data;
+import org.springblade.core.tool.utils.DateUtil;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * logApi銆乴ogError銆乴ogUsual鐖剁被
+ *
+ * @author Chill
+ */
+@Data
+public class LogAbstract implements Serializable {
+
+ protected static final long serialVersionUID = 1L;
+
+ /**
+ * 涓婚敭id
+ */
+ @JsonSerialize(using = ToStringSerializer.class)
+ @TableId(value = "id", type = IdType.ASSIGN_ID)
+ protected Long id;
+ /**
+ * 绉熸埛ID
+ */
+ private String tenantId;
+ /**
+ * 鏈嶅姟ID
+ */
+ protected String serviceId;
+ /**
+ * 鏈嶅姟鍣� ip
+ */
+ protected String serverIp;
+ /**
+ * 鏈嶅姟鍣ㄥ悕
+ */
+ protected String serverHost;
+ /**
+ * 鐜
+ */
+ protected String env;
+ /**
+ * 鎿嶄綔IP鍦板潃
+ */
+ protected String remoteIp;
+ /**
+ * 鐢ㄦ埛浠g悊
+ */
+ protected String userAgent;
+ /**
+ * 璇锋眰URI
+ */
+ protected String requestUri;
+ /**
+ * 鎿嶄綔鏂瑰紡
+ */
+ protected String method;
+ /**
+ * 鏂规硶绫�
+ */
+ protected String methodClass;
+ /**
+ * 鏂规硶鍚�
+ */
+ protected String methodName;
+ /**
+ * 鎿嶄綔鎻愪氦鐨勬暟鎹�
+ */
+ protected String params;
+ /**
+ * 鍒涘缓浜�
+ */
+ protected String createBy;
+ /**
+ * 鍒涘缓鏃堕棿
+ */
+ @DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
+ @JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
+ protected Date createTime;
+
+}
--
Gitblit v1.9.3