]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/java/net/ktnx/mobileledger/db/AccountValue.java
more Room adoption - accounts@100%, some profiles/transactions
[mobile-ledger.git] / app / src / main / java / net / ktnx / mobileledger / db / AccountValue.java
index cc8075644974c9092aeeb93f74f03737309de202..2ebc3ec483b9ca214609f99fd7c472a42d98ac6e 100644 (file)
@@ -44,7 +44,7 @@ public class AccountValue {
     @ColumnInfo
     private float value;
     @ColumnInfo(defaultValue = "0")
-    private int generation = 0;
+    private long generation = 0;
     public long getId() {
         return id;
     }
@@ -70,10 +70,10 @@ public class AccountValue {
     public void setValue(float value) {
         this.value = value;
     }
-    public int getGeneration() {
+    public long getGeneration() {
         return generation;
     }
-    public void setGeneration(int generation) {
+    public void setGeneration(long generation) {
         this.generation = generation;
     }
 }