diff --git a/blade-service-api/blade-system-api/src/main/java/org/springblade/system/entity/Menu.java b/blade-service-api/blade-system-api/src/main/java/org/springblade/system/entity/Menu.java index 4a7795ab..70e738fc 100644 --- a/blade-service-api/blade-system-api/src/main/java/org/springblade/system/entity/Menu.java +++ b/blade-service-api/blade-system-api/src/main/java/org/springblade/system/entity/Menu.java @@ -28,6 +28,7 @@ import lombok.Data; import org.springblade.core.tool.utils.Func; import java.io.Serializable; +import java.util.Objects; /** * 实体类 @@ -139,4 +140,10 @@ public class Menu implements Serializable { return false; } + @Override + public int hashCode() { + return Objects.hash(id, parentId, code); + } + + }