package com.gh.gamecenter.entity

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

/**
 * Created by khy on 2016/8/31.
 */
@Parcelize
data class GameCollectionEntity(
    @SerializedName("_id")
    var id: String? = "",
    var color: String = "",
    var name: String = "",
    @SerializedName("package")
    var packages: List<String> = ArrayList(),
    var saveApkEntity: MutableList<ApkEntity>? = null,
    val remark: String = "",
    @SerializedName("new_icon")
    val newIcon: String = "",
    @SerializedName("download_instruction")
    var downloadInstruction: String = "",
    var recommend: Recommend? = null,
    /**
     * 若该合集存在"可插件化"的包，则该版本在一级页面显示为“XX此版本，一旦设备中已安装合集中任一插件版本，
     * 则即便设备中同时安装了合集中其它版本的原包，也不再于下载面板-一级页中提示可插件化
     *　
     * 此步骤应在ViewModel提前算好
     */
    var showPluggableHint: Boolean = false
) : Parcelable
