diff options
Diffstat (limited to 'src/main/java/com/juick/User.java')
-rw-r--r-- | src/main/java/com/juick/User.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/juick/User.java b/src/main/java/com/juick/User.java index f34f07a8..5407fa95 100644 --- a/src/main/java/com/juick/User.java +++ b/src/main/java/com/juick/User.java @@ -26,6 +26,7 @@ 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.net.URI; import java.time.Instant; import java.util.ArrayList; @@ -37,7 +38,7 @@ import java.util.Objects; */ @XmlRootElement(name = "user", namespace = "http://juick.com/user") @XmlAccessorType() -public class User { +public class User implements Serializable { private int uid; private String name; private String avatar; |