diff options
Diffstat (limited to 'juick-common/src/main/java/com/juick/Chat.java')
-rw-r--r-- | juick-common/src/main/java/com/juick/Chat.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/juick-common/src/main/java/com/juick/Chat.java b/juick-common/src/main/java/com/juick/Chat.java new file mode 100644 index 00000000..c4f105dc --- /dev/null +++ b/juick-common/src/main/java/com/juick/Chat.java @@ -0,0 +1,24 @@ +package com.juick; + +import java.time.Instant; + +public class Chat extends User { + private Instant lastMessageTimestamp; + private String lastMessageText; + + public Instant getLastMessageTimestamp() { + return lastMessageTimestamp; + } + + public void setLastMessageTimestamp(Instant lastMessageTimestamp) { + this.lastMessageTimestamp = lastMessageTimestamp; + } + + public String getLastMessageText() { + return lastMessageText; + } + + public void setLastMessageText(String lastMessageText) { + this.lastMessageText = lastMessageText; + } +} |