package com.gh.gamecenter.entity

import com.gh.gamecenter.common.entity.LinkEntity
import com.google.gson.annotations.SerializedName

/**
 * Created by khy on 2017/4/24.
 */

class VersionVoteEntity {

    @SerializedName("_id")
    var id: String? = null

    var name: String? = null

    var num: Int = 0

    @SerializedName("me")
    var me: MeEntity? = null

    var reply: String? = null

    var open: Boolean = true

    var link: VersionVoteLinkEntity = VersionVoteLinkEntity()

    @SerializedName("permit_upload_apk")
    var permitUploadApk: Boolean = false

    // 高亮状态(本地字段)
    var isHighLight: Boolean = false
}

data class VersionVoteLinkEntity(
    var platform: String = "",
    @SerializedName("package")
    var packageName: String = "",
) : LinkEntity()