package com.gh.gamecenter.entity

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

/**
 * Created by khy on 2016/12/15.
 */
class LibaoDetailEntity {

    @SerializedName("d_button_add_word")
    var downloadAddWord: String? = null

    var des: String? = null

    // 领取限制 发表游戏评价 (game_comment)
    @SerializedName("receive_limit")
    var receiveLimit: String? = ""

    // 领取条件
    @SerializedName("receive_condition")
    var receiveCondition: Condition ? = null

    @SerializedName("new_des")
    var newDes: String? = null

    @SerializedName("install_required")
    var installRequired: Boolean = false

    var time: LibaoDetailTimeEntity? = null

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

    class Condition(
        // 评分，-1/5/4/3/2/1 => 无限制、5星好评、4星及以上评分、3星及以上评分、2星及以上评分、1星及以上评分
        val star: Int = 0,
        // 字数，-1/n => 无限制、数量
        val words: Int = 0
    )
}
