Inherit identity color from account color

This commit is contained in:
M66B
2023-06-17 09:54:30 +02:00
parent 1d5f595cf5
commit 9ef14f399f
5 changed files with 12 additions and 7 deletions

View File

@@ -24,6 +24,7 @@ import java.util.Objects;
public class TupleIdentityEx extends EntityIdentity {
public String accountName;
public String accountCategory;
public Integer accountColor;
public boolean accountSynchronize;
public Long drafts;
@@ -34,6 +35,7 @@ public class TupleIdentityEx extends EntityIdentity {
return (super.equals(obj) &&
Objects.equals(this.accountCategory, other.accountCategory) &&
Objects.equals(this.accountName, other.accountName) &&
Objects.equals(this.accountColor, other.accountColor) &&
this.accountSynchronize == other.accountSynchronize &&
Objects.equals(this.drafts, other.drafts));
} else