From 6ca3d7c61ee8d763f00847d90f4365e348f43078 Mon Sep 17 00:00:00 2001
From: admin <cgf12138@163.com>
Date: 星期四, 29 五月 2025 13:35:16 +0800
Subject: [PATCH] 0529

---
 aiflowy-modules/aiflowy-module-ai/src/main/java/tech/aiflowy/ai/entity/base/AiSecondMenuBase.java |   70 +++++++----------------------------
 1 files changed, 14 insertions(+), 56 deletions(-)

diff --git a/aiflowy-modules/aiflowy-module-ai/src/main/java/tech/aiflowy/ai/entity/base/AiSecondMenuBase.java b/aiflowy-modules/aiflowy-module-ai/src/main/java/tech/aiflowy/ai/entity/base/AiSecondMenuBase.java
index c02337f..fcfa5b0 100644
--- a/aiflowy-modules/aiflowy-module-ai/src/main/java/tech/aiflowy/ai/entity/base/AiSecondMenuBase.java
+++ b/aiflowy-modules/aiflowy-module-ai/src/main/java/tech/aiflowy/ai/entity/base/AiSecondMenuBase.java
@@ -5,18 +5,22 @@
 import com.mybatisflex.annotation.KeyType;
 import com.mybatisflex.annotation.Table;
 
+import java.io.Serializable;
 import java.math.BigInteger;
 
 /**
  * ai鏈哄櫒浜轰簩绾ц彍鍗曡〃
  * @TableName ai_second_menu
  */
-public class AiSecondMenuBase {
+public class AiSecondMenuBase implements Serializable {
     /**
      * 浜岀骇鑿滃崟缂栧彿
      */
+
+    private static final long serialVersionUID = 1L;
+
     @Id(keyType = KeyType.Auto, value = "secondMenuId", comment = "浜岀骇鑿滃崟缂栧彿")
-    private BigInteger secondMenuId;
+    private BigInteger id;
 
     /**
      * 涓�绾ц彍鍗曠紪鍙�
@@ -30,6 +34,14 @@
     @Column(comment = "浜岀骇鑿滃崟鍚嶇О")
     private String secondMenuName;
 
+    public BigInteger getId() {
+        return id;
+    }
+
+    public void setId(BigInteger id) {
+        this.id = id;
+    }
+
     public BigInteger getFirstMenuId() {
         return firstMenuId;
     }
@@ -38,65 +50,11 @@
         this.firstMenuId = firstMenuId;
     }
 
-    public BigInteger getSecondMenuId() {
-        return secondMenuId;
-    }
-
-    public void setSecondMenuId(BigInteger secondMenuId) {
-        this.secondMenuId = secondMenuId;
-    }
-
-    /**
-     * 浜岀骇鑿滃崟鍚嶇О
-     */
     public String getSecondMenuName() {
         return secondMenuName;
     }
 
-    /**
-     * 浜岀骇鑿滃崟鍚嶇О
-     */
     public void setSecondMenuName(String secondMenuName) {
         this.secondMenuName = secondMenuName;
-    }
-
-    @Override
-    public boolean equals(Object that) {
-        if (this == that) {
-            return true;
-        }
-        if (that == null) {
-            return false;
-        }
-        if (getClass() != that.getClass()) {
-            return false;
-        }
-        AiSecondMenuBase other = (AiSecondMenuBase) that;
-        return (this.getSecondMenuId() == null ? other.getSecondMenuId() == null : this.getSecondMenuId().equals(other.getSecondMenuId()))
-            && (this.getFirstMenuId() == null ? other.getFirstMenuId() == null : this.getFirstMenuId().equals(other.getFirstMenuId()))
-            && (this.getSecondMenuName() == null ? other.getSecondMenuName() == null : this.getSecondMenuName().equals(other.getSecondMenuName()));
-    }
-
-    @Override
-    public int hashCode() {
-        final int prime = 31;
-        int result = 1;
-        result = prime * result + ((getSecondMenuId() == null) ? 0 : getSecondMenuId().hashCode());
-        result = prime * result + ((getFirstMenuId() == null) ? 0 : getFirstMenuId().hashCode());
-        result = prime * result + ((getSecondMenuName() == null) ? 0 : getSecondMenuName().hashCode());
-        return result;
-    }
-
-    @Override
-    public String toString() {
-        StringBuilder sb = new StringBuilder();
-        sb.append(getClass().getSimpleName());
-        sb.append(" [");
-        sb.append("Hash = ").append(hashCode());
-        sb.append(", secondMenuId=").append(secondMenuId);
-        sb.append(", firstMenuId=").append(firstMenuId);
-        sb.append(", secondMenuName=").append(secondMenuName);
-        sb.append("]");
-        return sb.toString();
     }
 }
\ No newline at end of file

--
Gitblit v1.8.0