package com.gh.gamecenter.message.entity

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

/**
 * Created by khy on 2017/4/10.
 */
class MessageKeFuEntity {

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

    @SerializedName("read")
    var isRead: Boolean = true

    @SerializedName("receive")
    var isReceive: Boolean = false

    var message: String? = null

    var time: Long = 0

    var suggestion: String? = null

    var links: List<MessageLinkEntity>? = null

    @SerializedName("new_links")
    var newLinks: List<LinkEntity>? = null

    var images: List<String>? = null

    @SerializedName("service")
    var serviceEntity: ServiceEntity? = null

    @SerializedName("show_user_id")
    var showUserId: Boolean? = false

    var type: String = ""

    class ServiceEntity {
        var name: String? = null
        var icon: String? = null

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