package com.gh.gamecenter.entity

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

class DialogEntity(
    @SerializedName("index")
    val welcomeDialog: WelcomeDialogEntity? = null,
    @SerializedName("privacy_policy")
    val privacyPolicyDialog: PrivacyPolicyEntity? = null
) {

    @Parcelize
    class PrivacyPolicyEntity(
        @SerializedName("_id")
        var id: String,
        var type: String,
        var alert: String, // ONCE/EVERY_TIME_OPEN
        @SerializedName("alert_type")
        var alertType: String,// INFORM/RECONFIRM
        var content: String, // 支持html
        var time: Long
    ) : Parcelable
}