diff options
Diffstat (limited to 'juick-core/src/main/java')
-rw-r--r-- | juick-core/src/main/java/com/juick/User.java | 9 |
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; |