From 89f8649e8cf9bc12b9e29abb0adc4f9b77273143 Mon Sep 17 00:00:00 2001
From: guyue <1721849008@qq.com>
Date: 星期二, 08 七月 2025 09:07:44 +0800
Subject: [PATCH] 第三方接口

---
 src/main/java/com/linghu/model/entity/Platform.java |  209 ++++++++++++++++++++++++++-------------------------
 1 files changed, 107 insertions(+), 102 deletions(-)

diff --git a/src/main/java/com/linghu/model/entity/Platform.java b/src/main/java/com/linghu/model/entity/Platform.java
index ffeaa7e..d2550bc 100644
--- a/src/main/java/com/linghu/model/entity/Platform.java
+++ b/src/main/java/com/linghu/model/entity/Platform.java
@@ -5,8 +5,10 @@
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
 import java.io.Serializable;
+import java.time.LocalDateTime;
 import java.util.Date;
 import lombok.Data;
+import com.fasterxml.jackson.annotation.JsonFormat;
 
 /**
  * 
@@ -15,119 +17,122 @@
 @TableName(value = "platform")
 @Data
 public class Platform implements Serializable {
-    /**
-     * 平台id
-     */
-    @TableId(type = IdType.AUTO)
-    private Integer platform_id;
+        /**
+         * 平台id
+         */
+        @TableId(type = IdType.AUTO)
+        private Integer platform_id;
 
-    /**
-     * 类型id
-     */
-    private Integer type_id;
+        /**
+         * 类型id
+         */
+        private Integer type_id;
 
-    /**
-     * 平台名称
-     */
-    private String platform_name;
+        /**
+         * 平台名称
+         */
+        private String platform_name;
 
-    /**
-     * 平台域名
-     */
-    private String domain;
+        /**
+         * 平台域名
+         */
+        private String domain;
 
-    /**
-     * 
-     */
-    private Date create_time;
+        /**
+         * 
+         */
+        @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSSSS", timezone = "GMT+8")
+        private LocalDateTime create_time;
 
-    /**
-     * 
-     */
-    private String create_by;
+        /**
+         * 
+         */
+        private String create_by;
 
-    /**
-     * 
-     */
-    private Date update_time;
+        /**
+         * 
+         */
+        @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSSSS", timezone = "GMT+8")
+        private LocalDateTime update_time;
 
-    /**
-     * 
-     */
-    private String update_by;
+        /**
+         * 
+         */
+        private String update_by;
 
-    /**
-     * 0-未删除,1-已删除
-     */
-    private Integer del_flag;
+        /**
+         * 0-未删除,1-已删除
+         */
+        private Integer del_flag;
 
-    @TableField(exist = false)
-    private static final long serialVersionUID = 1L;
+        @TableField(exist = false)
+        private static final long serialVersionUID = 1L;
 
-    @Override
-    public boolean equals(Object that) {
-        if (this == that) {
-            return true;
+        @Override
+        public boolean equals(Object that) {
+                if (this == that) {
+                        return true;
+                }
+                if (that == null) {
+                        return false;
+                }
+                if (getClass() != that.getClass()) {
+                        return false;
+                }
+                Platform other = (Platform) that;
+                return (this.getPlatform_id() == null ? other.getPlatform_id() == null
+                                : this.getPlatform_id().equals(other.getPlatform_id()))
+                                && (this.getType_id() == null ? other.getType_id() == null
+                                                : this.getType_id().equals(other.getType_id()))
+                                && (this.getPlatform_name() == null ? other.getPlatform_name() == null
+                                                : this.getPlatform_name().equals(other.getPlatform_name()))
+                                && (this.getDomain() == null ? other.getDomain() == null
+                                                : this.getDomain().equals(other.getDomain()))
+                                && (this.getCreate_time() == null ? other.getCreate_time() == null
+                                                : this.getCreate_time().equals(other.getCreate_time()))
+                                && (this.getCreate_by() == null ? other.getCreate_by() == null
+                                                : this.getCreate_by().equals(other.getCreate_by()))
+                                && (this.getUpdate_time() == null ? other.getUpdate_time() == null
+                                                : this.getUpdate_time().equals(other.getUpdate_time()))
+                                && (this.getUpdate_by() == null ? other.getUpdate_by() == null
+                                                : this.getUpdate_by().equals(other.getUpdate_by()))
+                                && (this.getDel_flag() == null ? other.getDel_flag() == null
+                                                : this.getDel_flag().equals(other.getDel_flag()));
         }
-        if (that == null) {
-            return false;
-        }
-        if (getClass() != that.getClass()) {
-            return false;
-        }
-        Platform other = (Platform) that;
-        return (this.getPlatform_id() == null ? other.getPlatform_id() == null
-                : this.getPlatform_id().equals(other.getPlatform_id()))
-                && (this.getType_id() == null ? other.getType_id() == null
-                        : this.getType_id().equals(other.getType_id()))
-                && (this.getPlatform_name() == null ? other.getPlatform_name() == null
-                        : this.getPlatform_name().equals(other.getPlatform_name()))
-                && (this.getDomain() == null ? other.getDomain() == null : this.getDomain().equals(other.getDomain()))
-                && (this.getCreate_time() == null ? other.getCreate_time() == null
-                        : this.getCreate_time().equals(other.getCreate_time()))
-                && (this.getCreate_by() == null ? other.getCreate_by() == null
-                        : this.getCreate_by().equals(other.getCreate_by()))
-                && (this.getUpdate_time() == null ? other.getUpdate_time() == null
-                        : this.getUpdate_time().equals(other.getUpdate_time()))
-                && (this.getUpdate_by() == null ? other.getUpdate_by() == null
-                        : this.getUpdate_by().equals(other.getUpdate_by()))
-                && (this.getDel_flag() == null ? other.getDel_flag() == null
-                        : this.getDel_flag().equals(other.getDel_flag()));
-    }
 
-    @Override
-    public int hashCode() {
-        final int prime = 31;
-        int result = 1;
-        result = prime * result + ((getPlatform_id() == null) ? 0 : getPlatform_id().hashCode());
-        result = prime * result + ((getType_id() == null) ? 0 : getType_id().hashCode());
-        result = prime * result + ((getPlatform_name() == null) ? 0 : getPlatform_name().hashCode());
-        result = prime * result + ((getDomain() == null) ? 0 : getDomain().hashCode());
-        result = prime * result + ((getCreate_time() == null) ? 0 : getCreate_time().hashCode());
-        result = prime * result + ((getCreate_by() == null) ? 0 : getCreate_by().hashCode());
-        result = prime * result + ((getUpdate_time() == null) ? 0 : getUpdate_time().hashCode());
-        result = prime * result + ((getUpdate_by() == null) ? 0 : getUpdate_by().hashCode());
-        result = prime * result + ((getDel_flag() == null) ? 0 : getDel_flag().hashCode());
-        return result;
-    }
+        @Override
+        public int hashCode() {
+                final int prime = 31;
+                int result = 1;
+                result = prime * result + ((getPlatform_id() == null) ? 0 : getPlatform_id().hashCode());
+                result = prime * result + ((getType_id() == null) ? 0 : getType_id().hashCode());
+                result = prime * result + ((getPlatform_name() == null) ? 0 : getPlatform_name().hashCode());
+                result = prime * result + ((getDomain() == null) ? 0 : getDomain().hashCode());
+                result = prime * result + ((getCreate_time() == null) ? 0 : getCreate_time().hashCode());
+                result = prime * result + ((getCreate_by() == null) ? 0 : getCreate_by().hashCode());
+                result = prime * result + ((getUpdate_time() == null) ? 0 : getUpdate_time().hashCode());
+                result = prime * result + ((getUpdate_by() == null) ? 0 : getUpdate_by().hashCode());
+                result = prime * result + ((getDel_flag() == null) ? 0 : getDel_flag().hashCode());
+                return result;
+        }
 
-    @Override
-    public String toString() {
-        StringBuilder sb = new StringBuilder();
-        sb.append(getClass().getSimpleName());
-        sb.append(" [");
-        sb.append("Hash = ").append(hashCode());
-        sb.append(", platform_id=").append(platform_id);
-        sb.append(", type_id=").append(type_id);
-        sb.append(", platform_name=").append(platform_name);
-        sb.append(", domain=").append(domain);
-        sb.append(", create_time=").append(create_time);
-        sb.append(", create_by=").append(create_by);
-        sb.append(", update_time=").append(update_time);
-        sb.append(", update_by=").append(update_by);
-        sb.append(", del_flag=").append(del_flag);
-        sb.append(", serialVersionUID=").append(serialVersionUID);
-        sb.append("]");
-        return sb.toString();
-    }
+        @Override
+        public String toString() {
+                StringBuilder sb = new StringBuilder();
+                sb.append(getClass().getSimpleName());
+                sb.append(" [");
+                sb.append("Hash = ").append(hashCode());
+                sb.append(", platform_id=").append(platform_id);
+                sb.append(", type_id=").append(type_id);
+                sb.append(", platform_name=").append(platform_name);
+                sb.append(", domain=").append(domain);
+                sb.append(", create_time=").append(create_time);
+                sb.append(", create_by=").append(create_by);
+                sb.append(", update_time=").append(update_time);
+                sb.append(", update_by=").append(update_by);
+                sb.append(", del_flag=").append(del_flag);
+                sb.append(", serialVersionUID=").append(serialVersionUID);
+                sb.append("]");
+                return sb.toString();
+        }
 }
\ No newline at end of file

--
Gitblit v1.7.1