]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/java/net/ktnx/mobileledger/db/Transaction.java
Room-based profile management
[mobile-ledger.git] / app / src / main / java / net / ktnx / mobileledger / db / Transaction.java
index 05e63d8c0e92dd05c3db2aa48603a65159d5cd6e..d1757a2bd80c2d3a1856fecc554ddcb9fcf65a1d 100644 (file)
@@ -64,7 +64,7 @@ public class Transaction {
     @ColumnInfo
     private String comment;
     @ColumnInfo
-    private int generation = 0;
+    private long generation = 0;
     public long getLedgerId() {
         return ledgerId;
     }
@@ -119,10 +119,10 @@ public class Transaction {
     public void setComment(String comment) {
         this.comment = comment;
     }
-    public int getGeneration() {
+    public long getGeneration() {
         return generation;
     }
-    public void setGeneration(int generation) {
+    public void setGeneration(long generation) {
         this.generation = generation;
     }