From 10e6ff1418366a9283d40ba8c703aacbe58218c0 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 5 Oct 2018 15:01:14 +0300 Subject: Add user uri to replies --- juick-common/src/main/java/com/juick/User.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'juick-common/src/main') 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 read; private List readers; private List unread; + private URI uri; public User() { tokens = new ArrayList<>(); @@ -198,4 +200,12 @@ public class User { public void setUnread(List unread) { this.unread = unread; } + + public URI getUri() { + return uri; + } + + public void setUri(URI uri) { + this.uri = uri; + } } -- cgit v1.2.3