package com.gh.gamecenter.entity

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

data class CommonCollectionEntity(
    @SerializedName("_id")
    val id: String = "",
    val name: String = "",
    val type: String = "",
    val style: String = "",
    @SerializedName("home_page_style")
    val homePageStyle: String = "horizontal_sliding", //首页样式 （横排滑动：horizontal_sliding 竖排一行两个：1-2）
    @SerializedName("vertical_line")
    val verticalLine: String = "", // 竖排时才有数据，代表竖排行数控制
    @SerializedName("common_collection_content")
    val collectionList: MutableList<CommonCollectionContentEntity> = mutableListOf()
)

@Parcelize
data class CommonCollectionContentEntity(
    val title: String = "",
    val style: String = "",
    val image: String = "",
    @SerializedName("link")
    val linkEntity: ExposureLinkEntity,
    @SerializedName("added_content_1")
    var addedContent1: String? = "",
    @SerializedName("added_content_2")
    var addedContent2: String? = "",
) : Parcelable