/*
- * Copyright (c) 2017. Developed by Hedgecode.
+ * Copyright (c) 2017-2020. Developed by Hedgecode.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
package org.hedgecode.snooker.json;
+import java.io.Serializable;
+
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
*
* @author Dmitry Samoshin aka gotty
*/
-public class JsonRanking extends JsonIdEntity implements Ranking {
+public class JsonRanking extends JsonIdEntity implements Ranking, Serializable {
+
+ private static final long serialVersionUID = -8009582917499815478L;
@SerializedName("ID")
private int rankingId;
@Expose
private RankingType rankingType;
+ JsonRanking() {
+ }
+
@Override
public int rankingId() {
return rankingId;