package com.gh.gamecenter.entity

import com.gh.gamecenter.common.entity.LinkEntity
import com.google.gson.annotations.SerializedName

data class ServerTestEntity(
    val settings: Settings,
    var remark: String = "",
    @SerializedName("data")
    val sliceData: ArrayList<SliceData> = arrayListOf()
) {
    data class Settings(
        @SerializedName("index_show")
        val indexShow: String,
        @SerializedName("index_right_top")
        val indexRightTop: String,
        @SerializedName("index_date_format")
        val indexDateFormat: String,
        @SerializedName("game_info")
        val gameInfo: String,
        @SerializedName("game_tag")
        val gameTag: String,
        @SerializedName("ad_game_info")
        val adGameInfo: String,
        @SerializedName("ad_game_tag")
        val adGameTag: String,
        @SerializedName("index_show_newest_count")
        val indexShowNewestCount: Long = 0,
        @SerializedName("index_right_top_link")
        val indexRightTopLink: LinkEntity? = null,
        @SerializedName("test_time_range")
        val testTimeRange: Int = 0
    )

    data class SliceData(
        @SerializedName("start_midnight")
        val testTime: Long,
        @SerializedName("games")
        val gameList: ArrayList<GameEntity> = arrayListOf()
    )
}