]> git.ktnx.net Git - mobile-ledger.git/commitdiff
generation is long
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 4 Apr 2021 09:22:42 +0000 (12:22 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 4 Apr 2021 09:22:42 +0000 (12:22 +0300)
app/src/main/java/net/ktnx/mobileledger/db/Account.java

index 59c164b0b8e561423bed8bb7bda37743abaaec3c..82524fcb36ae199a417163cfddd5640899f3465d 100644 (file)
@@ -52,7 +52,7 @@ public class Account {
     @ColumnInfo(name = "amounts_expanded", defaultValue = "0")
     private boolean amountsExpanded = false;
     @ColumnInfo(defaultValue = "0")
-    private int generation;
+    private long generation;
     public long getId() {
         return id;
     }
@@ -103,10 +103,10 @@ public class Account {
     public void setAmountsExpanded(boolean amountsExpanded) {
         this.amountsExpanded = amountsExpanded;
     }
-    public int getGeneration() {
+    public long getGeneration() {
         return generation;
     }
-    public void setGeneration(int generation) {
+    public void setGeneration(long generation) {
         this.generation = generation;
     }
     @NonNull