diff options
Diffstat (limited to 'juick-core')
-rw-r--r-- | juick-core/src/main/java/com/juick/Message.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/juick-core/src/main/java/com/juick/Message.java b/juick-core/src/main/java/com/juick/Message.java index 4a693558..0d91cc63 100644 --- a/juick-core/src/main/java/com/juick/Message.java +++ b/juick-core/src/main/java/com/juick/Message.java @@ -42,6 +42,7 @@ public class Message implements Comparable { private User user = null; private final List<Tag> tags; private Instant ts; + private Instant updated; @XmlTransient @JsonIgnore public int TimeAgo = 0; @@ -339,4 +340,12 @@ public class Message implements Comparable { public void setAttachment(Attachment attachment) { this.attachment = attachment; } + + public Instant getUpdated() { + return updated; + } + + public void setUpdated(Instant updated) { + this.updated = updated; + } } |