This commit is contained in:
Joe 2023-12-09 19:46:14 -07:00 committed by GitHub
commit 494ba278ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -123,6 +123,11 @@ public class Menu implements Serializable {
private Integer isDeleted;
@Override
public int hashCode() {
return (this.getId() == null) ? -1 : this.getId();
}
@Override
public boolean equals(Object obj) {
if (this == obj) {