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/Type.java |   80 ++++++++++++++++++++--------------------
 1 files changed, 40 insertions(+), 40 deletions(-)

diff --git a/src/main/java/com/linghu/model/entity/Type.java b/src/main/java/com/linghu/model/entity/Type.java
index 406223d..0901080 100644
--- a/src/main/java/com/linghu/model/entity/Type.java
+++ b/src/main/java/com/linghu/model/entity/Type.java
@@ -33,44 +33,44 @@
     @TableField(exist = false)
     private static final long serialVersionUID = 1L;
 
-//    @Override
-//    public boolean equals(Object that) {
-//        if (this == that) {
-//            return true;
-//        }
-//        if (that == null) {
-//            return false;
-//        }
-//        if (getClass() != that.getClass()) {
-//            return false;
-//        }
-//        Type other = (Type) that;
-//        return (this.getType_id() == null ? other.getType_id() == null : this.getType_id().equals(other.getType_id()))
-//            && (this.getType_name() == null ? other.getType_name() == null : this.getType_name().equals(other.getType_name()))
-//            && (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 + ((getType_id() == null) ? 0 : getType_id().hashCode());
-//        result = prime * result + ((getType_name() == null) ? 0 : getType_name().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(", type_id=").append(type_id);
-//        sb.append(", type_name=").append(type_name);
-//        sb.append(", del_flag=").append(del_flag);
-//        sb.append(", serialVersionUID=").append(serialVersionUID);
-//        sb.append("]");
-//        return sb.toString();
-//    }
+    @Override
+    public boolean equals(Object that) {
+        if (this == that) {
+            return true;
+        }
+        if (that == null) {
+            return false;
+        }
+        if (getClass() != that.getClass()) {
+            return false;
+        }
+        Type other = (Type) that;
+        return (this.getType_id() == null ? other.getType_id() == null : this.getType_id().equals(other.getType_id()))
+            && (this.getType_name() == null ? other.getType_name() == null : this.getType_name().equals(other.getType_name()))
+            && (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 + ((getType_id() == null) ? 0 : getType_id().hashCode());
+        result = prime * result + ((getType_name() == null) ? 0 : getType_name().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(", type_id=").append(type_id);
+        sb.append(", type_name=").append(type_name);
+        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