Categorize identities

This commit is contained in:
M66B
2021-10-14 14:27:21 +02:00
parent cdee290a16
commit 7befbb0186
4 changed files with 97 additions and 3 deletions

View File

@@ -23,6 +23,7 @@ import java.util.Objects;
public class TupleIdentityEx extends EntityIdentity {
public String accountName;
public String accountCategory;
public Long drafts;
@Override
@@ -30,6 +31,7 @@ public class TupleIdentityEx extends EntityIdentity {
if (obj instanceof TupleIdentityEx) {
TupleIdentityEx other = (TupleIdentityEx) obj;
return (super.equals(obj) &&
Objects.equals(accountCategory, other.accountCategory) &&
Objects.equals(accountName, other.accountName) &&
Objects.equals(drafts, other.drafts));
} else