package com.remax.visualnovel.entity.response

import androidx.annotation.StringRes
import com.remax.visualnovel.R

/**
 * Created by HJW on 2025/8/21
 */
data class HeartbeatLevel(
    /**
     * 心动等级code
     */
    val code: String,
    /**
     * 心动等级图标
     */
    val imgUrl: String,
    /**
     * 用户是否解锁
     */
    val isUnlock: Boolean,
    /**
     * 心动等级名称
     */
    val name: String,
    val startVal: Double
)

enum class HeartbeatLevelEnum(
    val levelName: String,
    val level: Int,
    val levelContent: String,
    val startVal: Double,
    @StringRes val tagName: Int
) {

    // 初识勋章
    LEVEL_1("LEVEL_1", 1, "Lv.1", 0.50, R.string.meet),

    // 发图功能
    LEVEL_2("LEVEL_2", 2, "Lv.2", 3.50, R.string.meet),

    // 朋友勋章
    LEVEL_3("LEVEL_3", 3, "Lv.3", 12.00, R.string.friend),

    // 语音通话
    LEVEL_4("LEVEL_4", 4, "Lv.4", 30.00, R.string.friend),

    // 暧昧勋章
    LEVEL_5("LEVEL_5", 5, "Lv.5", 90.00, R.string.flirting),

    // 专属礼物
    LEVEL_6("LEVEL_6", 6, "Lv.6", 270.00, R.string.flirting),

    // 恋人勋章
    LEVEL_7("LEVEL_7", 7, "Lv.7", 540.00, R.string.couple),

    // 专属聊天气泡
    LEVEL_8("LEVEL_8", 8, "Lv.8", 990.00, R.string.couple),

    // 结婚勋章
    LEVEL_9("LEVEL_9", 9, "Lv.9", 1778.00, R.string.married),

    // 自定义形象
    LEVEL_10("LEVEL_10", 10, "Lv.10", 2957.00, R.string.married),

}