/*
- * 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 java.net.URL;
import java.util.Date;
*
* @author Dmitry Samoshin aka gotty
*/
-public class JsonPlayer extends JsonIdEntity implements Player {
+public class JsonPlayer extends JsonIdEntity implements Player, Serializable {
+
+ private static final long serialVersionUID = 5978347071162091429L;
@SerializedName("ID")
private int playerId;
@SerializedName("Info")
private String info;
- protected JsonPlayer() {
+ JsonPlayer() {
}
@Override