[LIB-10] SerialVersionUID for Serializable classes
[snooker-score-api.git] / src / main / java / org / hedgecode / snooker / json / JsonSeeding.java
index 8b9f9ff..30dfd43 100644 (file)
@@ -16,6 +16,8 @@
 
 package org.hedgecode.snooker.json;
 
+import java.io.Serializable;
+
 import com.google.gson.annotations.Expose;
 import com.google.gson.annotations.SerializedName;
 
@@ -28,7 +30,9 @@ import org.hedgecode.snooker.api.Seeding;
  *
  * @author Dmitry Samoshin aka gotty
  */
-public class JsonSeeding extends JsonIdEntity implements Seeding {
+public class JsonSeeding extends JsonIdEntity implements Seeding, Serializable {
+
+    private static final long serialVersionUID = -9182126924854384725L;
 
     @SerializedName("EventID")
     private int eventId;
@@ -41,7 +45,7 @@ public class JsonSeeding extends JsonIdEntity implements Seeding {
     @SerializedName("Seeding")
     private int seeding;
 
-    protected JsonSeeding() {
+    JsonSeeding() {
     }
 
     @Override