diff options
Diffstat (limited to 'src/main/java/com/juick/model')
-rw-r--r-- | src/main/java/com/juick/model/AnonymousUser.java | 4 | ||||
-rw-r--r-- | src/main/java/com/juick/model/Attachment.java | 4 | ||||
-rw-r--r-- | src/main/java/com/juick/model/Chat.java | 4 | ||||
-rw-r--r-- | src/main/java/com/juick/model/Entity.java | 4 | ||||
-rw-r--r-- | src/main/java/com/juick/model/Message.java | 4 | ||||
-rw-r--r-- | src/main/java/com/juick/model/Photo.java | 4 | ||||
-rw-r--r-- | src/main/java/com/juick/model/Reaction.java | 5 | ||||
-rw-r--r-- | src/main/java/com/juick/model/Tag.java | 5 | ||||
-rw-r--r-- | src/main/java/com/juick/model/User.java | 4 |
9 files changed, 38 insertions, 0 deletions
diff --git a/src/main/java/com/juick/model/AnonymousUser.java b/src/main/java/com/juick/model/AnonymousUser.java index 127e8e7f..387a9f32 100644 --- a/src/main/java/com/juick/model/AnonymousUser.java +++ b/src/main/java/com/juick/model/AnonymousUser.java @@ -21,6 +21,10 @@ package com.juick.model; * Created by aalexeev on 12/11/16. */ public final class AnonymousUser extends User { + /** + * + */ + private static final long serialVersionUID = -2711112452256383258L; public static final AnonymousUser INSTANCE = new AnonymousUser(); private AnonymousUser() { diff --git a/src/main/java/com/juick/model/Attachment.java b/src/main/java/com/juick/model/Attachment.java index 485c69bc..9b2c29cb 100644 --- a/src/main/java/com/juick/model/Attachment.java +++ b/src/main/java/com/juick/model/Attachment.java @@ -20,6 +20,10 @@ package com.juick.model; import java.io.Serializable; public class Attachment implements Serializable { + /** + * + */ + private static final long serialVersionUID = 5045908853672470897L; private String url; private Integer height; private Integer width; diff --git a/src/main/java/com/juick/model/Chat.java b/src/main/java/com/juick/model/Chat.java index e72afb30..6d876093 100644 --- a/src/main/java/com/juick/model/Chat.java +++ b/src/main/java/com/juick/model/Chat.java @@ -22,6 +22,10 @@ import com.fasterxml.jackson.annotation.JsonFormat; import java.time.Instant; public class Chat extends User { + /** + * + */ + private static final long serialVersionUID = 6403537597231864691L; private Instant lastMessageTimestamp; private String lastMessageText; diff --git a/src/main/java/com/juick/model/Entity.java b/src/main/java/com/juick/model/Entity.java index 4cea7a6f..e55dd5c4 100644 --- a/src/main/java/com/juick/model/Entity.java +++ b/src/main/java/com/juick/model/Entity.java @@ -20,6 +20,10 @@ package com.juick.model; import java.io.Serializable; public class Entity implements Serializable { + /** + * + */ + private static final long serialVersionUID = 1224678482278361917L; private String type; private String url; private String text; diff --git a/src/main/java/com/juick/model/Message.java b/src/main/java/com/juick/model/Message.java index 5ad4fb26..19958e9f 100644 --- a/src/main/java/com/juick/model/Message.java +++ b/src/main/java/com/juick/model/Message.java @@ -40,6 +40,10 @@ import java.util.Set; @XmlRootElement(name = "juick", namespace = "http://juick.com/message") @XmlAccessorType() public class Message implements Comparable<Message>, Serializable { + /** + * + */ + private static final long serialVersionUID = -8974267615566193266L; private int mid = 0; private int rid = 0; private int replyto = 0; diff --git a/src/main/java/com/juick/model/Photo.java b/src/main/java/com/juick/model/Photo.java index e759f70d..b2aeec08 100644 --- a/src/main/java/com/juick/model/Photo.java +++ b/src/main/java/com/juick/model/Photo.java @@ -25,6 +25,10 @@ import java.io.Serializable; // used for compatibility @Deprecated public class Photo implements Serializable { + /** + * + */ + private static final long serialVersionUID = -4344864834480242698L; private String small; private String medium; private String thumbnail; diff --git a/src/main/java/com/juick/model/Reaction.java b/src/main/java/com/juick/model/Reaction.java index 4b3501d4..bd8c69ec 100644 --- a/src/main/java/com/juick/model/Reaction.java +++ b/src/main/java/com/juick/model/Reaction.java @@ -23,6 +23,11 @@ import java.io.Serializable; public class Reaction implements Serializable { + /** + * + */ + private static final long serialVersionUID = 6055430982255268594L; + public static final int LIKE = 1; private final int id; diff --git a/src/main/java/com/juick/model/Tag.java b/src/main/java/com/juick/model/Tag.java index 75266303..53f451d3 100644 --- a/src/main/java/com/juick/model/Tag.java +++ b/src/main/java/com/juick/model/Tag.java @@ -29,6 +29,11 @@ import java.util.Objects; @XmlRootElement(name = "tag", namespace = "http://juick.com/message") @XmlAccessorType(XmlAccessType.FIELD) public class Tag implements Comparable<Tag>, Serializable { + /** + * + */ + private static final long serialVersionUID = 2665342664215832275L; + @XmlValue private String name; diff --git a/src/main/java/com/juick/model/User.java b/src/main/java/com/juick/model/User.java index b43257ed..ad509c28 100644 --- a/src/main/java/com/juick/model/User.java +++ b/src/main/java/com/juick/model/User.java @@ -39,6 +39,10 @@ import java.util.Objects; @XmlRootElement(name = "user", namespace = "http://juick.com/user") @XmlAccessorType() public class User implements Serializable { + /** + * + */ + private static final long serialVersionUID = -914973098049669133L; private int uid; private String name; private String avatar; |