]> git.ktnx.net Git - mobile-ledger.git/commitdiff
add transaction comment to the internal transaction representation
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 13 May 2020 18:27:54 +0000 (21:27 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 14 May 2020 17:39:53 +0000 (17:39 +0000)
app/src/main/java/net/ktnx/mobileledger/model/LedgerTransaction.java

index 071e0640b693c2f0f39f6cf8e67afaaae5f68cdb..afb9c57f01bdc3298f942b99a73180029e1fa5e2 100644 (file)
@@ -51,6 +51,7 @@ public class LedgerTransaction {
     private Integer id;
     private Date date;
     private String description;
+    private String comment;
     private ArrayList<LedgerTransactionAccount> accounts;
     private String dataHash;
     private boolean dataLoaded;
@@ -107,6 +108,12 @@ public class LedgerTransaction {
         this.description = description;
         dataHash = null;
     }
+    public String getComment() {
+        return comment;
+    }
+    public void setComment(String comment) {
+        this.comment = comment;
+    }
     public int getId() {
         return id;
     }