From: Damyan Ivanov Date: Wed, 13 May 2020 18:27:54 +0000 (+0300) Subject: add transaction comment to the internal transaction representation X-Git-Tag: v0.13.0~16 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=b5baaca66af36c8eb0e202392b192d9da52a9249;p=mobile-ledger.git add transaction comment to the internal transaction representation --- diff --git a/app/src/main/java/net/ktnx/mobileledger/model/LedgerTransaction.java b/app/src/main/java/net/ktnx/mobileledger/model/LedgerTransaction.java index 071e0640..afb9c57f 100644 --- a/app/src/main/java/net/ktnx/mobileledger/model/LedgerTransaction.java +++ b/app/src/main/java/net/ktnx/mobileledger/model/LedgerTransaction.java @@ -51,6 +51,7 @@ public class LedgerTransaction { private Integer id; private Date date; private String description; + private String comment; private ArrayList 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; }