|
@@ -22,9 +22,18 @@ data class EventData(
|
|
|
@JsonClass(generateAdapter = true)
|
|
|
data class EventInfo(
|
|
|
@Json(name = "_id")
|
|
|
- val eventInfoId: EventInfoId,
|
|
|
- @Json(name = "fighters")
|
|
|
- val fighters: MutableList<EventInfoFighters>,
|
|
|
+ val id: String,
|
|
|
+ @Json(name = "title")
|
|
|
+ val title: String,
|
|
|
+ @Json(name = "desc")
|
|
|
+ val desc: String,
|
|
|
+ @Json(name = "match_fighter_id")
|
|
|
+ val fighterId: String,
|
|
|
+
|
|
|
+// @Json(name = "_id")
|
|
|
+// val eventInfoId: EventInfoId,
|
|
|
+// @Json(name = "fighters")
|
|
|
+// val fighters: MutableList<EventInfoFighters>,
|
|
|
)
|
|
|
|
|
|
@JsonClass(generateAdapter = true)
|
|
@@ -35,12 +44,12 @@ data class EventInfoId(
|
|
|
val title: String,
|
|
|
@Json(name = "desc")
|
|
|
val desc: String,
|
|
|
- @Json(name = "status")
|
|
|
- val status: Boolean,
|
|
|
- @Json(name = "fighter_id")
|
|
|
+ @Json(name = "match_fighter_id")
|
|
|
val fighterId: String,
|
|
|
- @Json(name = "createdAt")
|
|
|
- val createdAt: String,
|
|
|
+// @Json(name = "status")
|
|
|
+// val status: Boolean,
|
|
|
+// @Json(name = "createdAt")
|
|
|
+// val createdAt: String,
|
|
|
)
|
|
|
|
|
|
@JsonClass(generateAdapter = true)
|