package com.craigvg.lichun_android.domain.models import kotlinx.serialization.Serializable /** * Store and in-app purchase item models * Ported from iOS StoreItem.swift */ /** * Store item for in-game purchases */ @Serializable data class StoreItem( val id: String, val name: String, val price: Double, val description: String, val prestigeBoost: Int, val image: String? = null ) { /** * Format price for display */ val formattedPrice: String get() = "$${"%.2f".format(price)}" } /** * In-app purchase item for real money purchases */ @Serializable data class InAppPurchaseItem( val id: String, val name: String, val price: Double, val description: String, val diamonds: Int, val image: String ) { /** * Format price for display */ val formattedPrice: String get() = "$${"%.2f".format(price)}" /** * Value description (diamonds per dollar) */ val valueDescription: String get() = "+$diamonds Diamonds" }