X-Git-Url: https://git.hedgecode.org/?p=snooker-score-api.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fhedgecode%2Fsnooker%2Fjson%2FJsonSeeding.java;h=30dfd43b8dc03aa75c28f276a0832d331835b1c1;hp=8b9f9ff8e54b2e5b1017e1befb8eca650ecb4665;hb=2730133cd1f5b0f4d26b042c1171155797636929;hpb=cd2f8a9c9fea202a4edb2a475e1455ef879cd6a2 diff --git a/src/main/java/org/hedgecode/snooker/json/JsonSeeding.java b/src/main/java/org/hedgecode/snooker/json/JsonSeeding.java index 8b9f9ff..30dfd43 100644 --- a/src/main/java/org/hedgecode/snooker/json/JsonSeeding.java +++ b/src/main/java/org/hedgecode/snooker/json/JsonSeeding.java @@ -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