From b5baaca66af36c8eb0e202392b192d9da52a9249 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Wed, 13 May 2020 21:27:54 +0300 Subject: [PATCH] add transaction comment to the internal transaction representation --- .../net/ktnx/mobileledger/model/LedgerTransaction.java | 7 +++++++ 1 file changed, 7 insertions(+) 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; } -- 2.39.5