package com.gh.gamecenter.feature.entity

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

@Parcelize
class GameInfo(
    @SerializedName("download_status")
    var downloadStatus: String = "",// 下载状态，on/off/appointment/link
    @SerializedName("top_tag")
    var topTags: ArrayList<TagStyleEntity> = ArrayList(),
    var version: String = "",
    @SerializedName("request_update_status")
    var requestUpdateStatus: String = "",// 游戏求更新开关，on/off
    @SerializedName("request_speed_status")
    var requestSpeedStatus: String = "",// 游戏求加速开关，on/off
    @SerializedName("update_time")
    var updateTime: Long = 0,
    var size: String = "",
    var contact: Contact? = null,
    var manufacturer: String = "",// 对应manufacturer_type 的值
    var permissions: List<Permission>? = null,
    @SerializedName("privacy_policy_url")
    var privacyPolicyUrl: String? = null,
    @SerializedName("recommend_age")
    var recommendAge: String = "",//适龄等级
    @SerializedName("manufacturer_type")
    var manufacturerType: String = "",// manufacturer(厂商)/publisher(发行商)/developer(开发商)
    var publisher: String = "",//manufacturer_type 值为 manufacturer / publisher，或该字段值为空时，不返回该字段
    var developer: String = "",//manufacturer_type 值为 manufacturer / developer，或该字段值为空时，不返回该字段
    var supplier: String = "",//供应商
    @SerializedName("credit_code")
    var creditCode: String = "",//统一社会信用代码
    @SerializedName("ICP")
    var icp: ICP? = null, // APP 备案相关,
    @SerializedName("internet_app")
    var internetApp: String? = null // 联网App，yes：是 no：否
) : Parcelable {
    @Parcelize
    class ICP(val number: String): Parcelable
}