package com.gh.gamecenter.entity

import com.gh.gamecenter.login.entity.BadgeAction
import com.google.gson.annotations.SerializedName

data class BadgeEntity(
    @SerializedName(value = "_id")
    var id: String = "",
    var expire: Int = 0,
    var icon: String = "",
    var name: String = "", //获取时间
    var time: Int = 0, //有效期，0代表无限期
    val wear: Boolean = false, //是否佩戴
    var image: String = "",
    var actions: List<BadgeAction>? = null,
    var receive: BadgeReceive? = null
)

// 领取类型
data class BadgeReceive(var type: String = "")