Simplify leave deleted

This commit is contained in:
M66B
2021-08-09 08:06:55 +02:00
parent 982eeb7043
commit ceacbf13fc
7 changed files with 2571 additions and 97 deletions

View File

@@ -31,7 +31,7 @@ import java.util.Objects;
value = TupleAccountView.query
)
public class TupleAccountView {
static final String query = "SELECT id, pop, name, color, synchronize, notify, auto_seen, created FROM account";
static final String query = "SELECT id, pop, name, color, synchronize, notify, leave_deleted, auto_seen, created FROM account";
@NonNull
public Long id;
@@ -45,6 +45,8 @@ public class TupleAccountView {
@NonNull
public Boolean notify = false;
@NonNull
public Boolean leave_deleted = false;
@NonNull
public Boolean auto_seen = true;
public Long created;
@@ -58,6 +60,7 @@ public class TupleAccountView {
Objects.equals(this.color, other.color) &&
this.synchronize.equals(other.synchronize) &&
this.notify.equals(other.notify) &&
this.leave_deleted.equals(other.leave_deleted) &&
this.auto_seen.equals(other.auto_seen) &&
Objects.equals(this.created, other.created));
} else