//
//  LNConfigResponse.swift
//  Lanu
//
//  Created by OneeChan on 2025/12/25.
//

import Foundation
import AutoCodable


@AutoCodable
class LNCurrenyExchangeConstsVO: Decodable {
    var IDR: Double?
    var goldCoin: Double?
    var bean: Double?
    var diamond: Double?
}

@AutoCodable
class LNCommonAreaConstsVO: Decodable {
    var code: String = ""
    var name: String = ""
}

@AutoCodable
class LNLanguageConstsVO: Decodable {
    var code: String = ""
    var name: String = ""
}

@AutoCodable
class LNAppVersionConfigVO: Decodable {
    var ios: String = ""
}

@AutoCodable
class LNConfigResponse: Decodable {
    var commonCoinExchangeConsts: [LNCurrenyExchangeConstsVO] = []
    var commonAreaConsts: [LNCommonAreaConstsVO] = []
    var commonLanguageConsts: [LNLanguageConstsVO] = []
    var appReviewSpecialVersionConfig: LNAppVersionConfigVO?
    
    init() { }
}

@AutoCodable
class LNCountryCodeVO: Decodable {
    var name: String = ""
    var icon: String = ""
    var num: String = ""
    var code: String = ""
}


@AutoCodable
class LNCountryCodeListResponse: Decodable {
    var list: [LNCountryCodeVO] = []
}

@AutoCodable
class LNBannerInfoVO: Decodable {
    var img: String = ""
    var title: String = ""
    var subtitle: String = ""
    var target: Int = 1
    var jump: String = ""
    var startTime: Double = 0
    var stopTime: Double = 0
}

@AutoCodable
class LNListVOBannerInfoVO: Decodable {
    var list: [LNBannerInfoVO] = []
}
