package com.gh.gamecenter.entity

import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.parcelize.Parcelize

@Parcelize
data class SidebarsEntity(
    @SerializedName("_id")
    var id: String = "",
    var name: String = "",
    @SerializedName("has_choiceness")
    var hasSpecial: Boolean = false,
    var sidebars: List<SidebarEntity> = emptyList()
) : Parcelable {

    @Parcelize
    data class SidebarEntity(
        var name: String = "",
        @SerializedName("link_type")
        var type: String = "", // level_two二级分类，level_one一级分类
        @SerializedName("link_category")
        var categoryId: String = "",
        var recommended: Boolean = false,
        @SerializedName("parent_id")
        var parentId: String = ""
    ) : Parcelable
}
