aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com/juick/Chat.java
diff options
context:
space:
mode:
Diffstat (limited to 'juick-common/src/main/java/com/juick/Chat.java')
-rw-r--r--juick-common/src/main/java/com/juick/Chat.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/juick-common/src/main/java/com/juick/Chat.java b/juick-common/src/main/java/com/juick/Chat.java
deleted file mode 100644
index 59c0a2dc..00000000
--- a/juick-common/src/main/java/com/juick/Chat.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package com.juick;
-
-import com.fasterxml.jackson.annotation.JsonFormat;
-
-import java.time.Instant;
-
-public class Chat extends User {
- private Instant lastMessageTimestamp;
- private String lastMessageText;
-
- public Instant getLastMessageTimestamp() {
- return lastMessageTimestamp;
- }
-
- @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "UTC")
- public void setLastMessageTimestamp(Instant lastMessageTimestamp) {
- this.lastMessageTimestamp = lastMessageTimestamp;
- }
-
- public String getLastMessageText() {
- return lastMessageText;
- }
-
- public void setLastMessageText(String lastMessageText) {
- this.lastMessageText = lastMessageText;
- }
-}