fix: equals and hash code for unstructured metadata (#7382)

#### What type of PR is this?
/kind bug
/area core
/milestone 2.20.x

#### What this PR does / why we need it:
修复 Unstructured Metadata 的 equals hashcode  排除 version,这可能是之前误操作提交的

ed50a0224d/api/src/main/java/run/halo/app/extension/Unstructured.java (L75)

#### Does this PR introduce a user-facing change?

```release-note
None
```
pull/7386/head
guqing 2025-04-24 11:11:13 +08:00 committed by GitHub
parent 4235fd1eda
commit ee064f505b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ public class Unstructured implements Extension {
return new UnstructuredMetadata();
}
@EqualsAndHashCode(exclude = "tatersion")
@EqualsAndHashCode(exclude = "version")
class UnstructuredMetadata implements MetadataOperator {
@Override