aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com/juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-05 15:01:14 +0300
committerGravatar Vitaly Takmazov2018-10-05 15:01:14 +0300
commit10e6ff1418366a9283d40ba8c703aacbe58218c0 (patch)
tree287e3a700a1ce9b3f947c3f894bfba81450832da /juick-common/src/main/java/com/juick
parentf85d0eb9e26b9ffae574b21a263b83c079342e6e (diff)
Add user uri to replies
Diffstat (limited to 'juick-common/src/main/java/com/juick')
-rw-r--r--juick-common/src/main/java/com/juick/User.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/juick-common/src/main/java/com/juick/User.java b/juick-common/src/main/java/com/juick/User.java
index 7aa92469..5615d96f 100644
--- a/juick-common/src/main/java/com/juick/User.java
+++ b/juick-common/src/main/java/com/juick/User.java
@@ -26,6 +26,7 @@ import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import java.io.Serializable;
+import java.net.URI;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
@@ -48,6 +49,7 @@ public class User {
private List<User> read;
private List<User> readers;
private List<Integer> unread;
+ private URI uri;
public User() {
tokens = new ArrayList<>();
@@ -198,4 +200,12 @@ public class User {
public void setUnread(List<Integer> unread) {
this.unread = unread;
}
+
+ public URI getUri() {
+ return uri;
+ }
+
+ public void setUri(URI uri) {
+ this.uri = uri;
+ }
}