package com.gh.gamecenter.entity

import com.gh.gamecenter.feature.entity.GameEntity
import com.google.gson.annotations.SerializedName

data class PullDownPush(
    @SerializedName("_id")
    val id: String = "",
    @SerializedName("pop_switch")
    val popSwitch: String = "",
    @SerializedName("put_away_switch")
    val putAwaySwitch: String = "", // 自动收起，never：永不、video_finished：视频播放完毕（视频必填）、n：n秒后（5-15秒后）
    val description: String = "",
    @SerializedName("img_url")
    val imgUrl: String = "",
    val video: Video? = null,
    val game: GameEntity? = null,
    var isSlideBackgroundColorEnable: Boolean = false, // 本地字段，是否启用首页轮播图背景颜色
    var customPageId: String = "", // 本地字段，自定义页面ID
    var customPageName: String = "", // 本地字段，自定义页面名称
)

data class Video(
    @SerializedName("_id")
    val id: String = "",
    val url: String = ""
)
