/*
- * Copyright (c) 2017-2019. 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;
+import org.hedgecode.snooker.annotation.WithHTMLTags;
import org.hedgecode.snooker.api.Event;
import org.hedgecode.snooker.api.Round;
*
* @author Dmitry Samoshin aka gotty
*/
-public class JsonRound extends JsonIdEntity implements Round {
+public class JsonRound extends JsonIdEntity implements Round, Serializable {
+
+ private static final long serialVersionUID = -2010008975829800984L;
@SerializedName("Round")
private int round;
private int numLeft;
@SerializedName("NumMatches")
private int numMatches;
+ @WithHTMLTags
@SerializedName("Note")
private String note;
@SerializedName("ValueType")
@SerializedName("SeedPoints")
private int seedPoints;
- protected JsonRound() {
+ JsonRound() {
}
@Override