package com.remax.visualnovel.entity.request

import android.os.Parcelable
import com.remax.visualnovel.entity.response.HeartbeatLevelEnum
import kotlinx.parcelize.Parcelize

/**
 * Created by HJW on 2025/8/20
 */
@Parcelize
data class HeartbeatRelation(
    val aiHeadImg: String, //AI头像
    val userHeadImg: String, // 用户头像
    var heartbeatLevel: String?, //心动等级类型
    var heartbeatLevelName: String?, //心动等级名称
    var heartbeatLevelNum: Int?, //心动等级
    val dayCount: Int, //相识天数
    val price: Long?, //心动值单价
    var heartbeatVal: Double?, //心动值
    val subtractHeartbeatVal: Double?, //已扣减心动值
    var heartbeatScore: Float?, //心动分
    var isShow: Boolean?,
    var aiId: String? = null
) : Parcelable {

    val currHeartbeatEnum: HeartbeatLevelEnum?
        get() = HeartbeatLevelEnum.entries.find { it.levelName == heartbeatLevel }

}

