package com.remax.visualnovel.entity.response

/**
 * Created by HJW on 2022/6/1
 */
data class VipItemPrivilege(
    val id: Int,
    val title: String,
    val desc: String,
    val img: String,
    val code: String
) {
    companion object {
        val privileges =
            listOf(ADD_CRUSH_COIN, ADD_CREATE_AI, ADD_ALBUM_CREATE, AUTO_PLAY_VOICE, CUSTOM_CHAT_BUBBLE, SPECIAL_GIFT)

        //增加coin
        const val ADD_CRUSH_COIN = "ADD_CRUSH_COIN"

        //增加创建ai个数
        const val ADD_CREATE_AI = "ADD_CREATE_AI"

        //增加相册创建数
        const val ADD_ALBUM_CREATE = "ADD_ALBUM_CREATE"

        //增加自动播放
        const val AUTO_PLAY_VOICE = "AUTO_PLAY_VOICE"

        //增加自定义气泡
        const val CUSTOM_CHAT_BUBBLE = "CUSTOM_CHAT_BUBBLE"

        //增加特殊礼物
        const val SPECIAL_GIFT = "SPECIAL_GIFT"
    }
}

data class Membership(
    /**
     * 用户会员权限列表
     */
    val memberPrivList: List<VipItemPrivilege>? = null,
    /**
     * 用户会员信息
     */
    val userMemberInfo: UserSubInfo? = null

)
