aboutsummaryrefslogtreecommitdiff
path: root/juick-core/src/main/java/com
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-08-23 11:59:55 +0300
committerGravatar Vitaly Takmazov2017-08-23 13:36:38 +0300
commitca2db58145c4663a22f44f5f98a67aa03fbe8d38 (patch)
treeb40c01b92b15c34df57024eb812ca0d37834e62f /juick-core/src/main/java/com
parent3e4807157e3c244820dd4d5149997970530e4fcb (diff)
server-jdbc: fix favorites count
Diffstat (limited to 'juick-core/src/main/java/com')
-rw-r--r--juick-core/src/main/java/com/juick/User.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/juick-core/src/main/java/com/juick/User.java b/juick-core/src/main/java/com/juick/User.java
index 26c5642b..1ee8c920 100644
--- a/juick-core/src/main/java/com/juick/User.java
+++ b/juick-core/src/main/java/com/juick/User.java
@@ -21,9 +21,12 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
-import javax.xml.bind.annotation.*;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlTransient;
+import java.io.Serializable;
import java.util.ArrayList;
-import java.util.Collections;
import java.util.List;
/**
@@ -31,7 +34,7 @@ import java.util.List;
*/
@XmlRootElement(name = "user", namespace = "http://juick.com/user")
@XmlAccessorType()
-public class User {
+public class User implements Serializable {
private int uid;
private String name;
private Object avatar;