aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com/juick/Chat.java
blob: c4f105dc56a20a31845a31b2770f1ba8fe426090 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
    }
}