LNConfigResponse.swift 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. //
  2. // LNConfigResponse.swift
  3. // Lanu
  4. //
  5. // Created by OneeChan on 2025/12/25.
  6. //
  7. import Foundation
  8. import AutoCodable
  9. @AutoCodable
  10. class LNCurrenyExchangeConstsVO: Decodable {
  11. var IDR: Double?
  12. var goldCoin: Double?
  13. var bean: Double?
  14. var diamond: Double?
  15. }
  16. @AutoCodable
  17. class LNCommonAreaConstsVO: Decodable {
  18. var code: String = ""
  19. var name: String = ""
  20. }
  21. @AutoCodable
  22. class LNLanguageConstsVO: Decodable {
  23. var code: String = ""
  24. var name: String = ""
  25. }
  26. @AutoCodable
  27. class LNAppVersionConfigVO: Decodable {
  28. var ios: String = ""
  29. }
  30. @AutoCodable
  31. class LNConfigResponse: Decodable {
  32. var commonCoinExchangeConsts: [LNCurrenyExchangeConstsVO] = []
  33. var commonAreaConsts: [LNCommonAreaConstsVO] = []
  34. var commonLanguageConsts: [LNLanguageConstsVO] = []
  35. var appReviewSpecialVersionConfig: LNAppVersionConfigVO?
  36. init() { }
  37. }
  38. @AutoCodable
  39. class LNCountryCodeVO: Decodable {
  40. var name: String = ""
  41. var icon: String = ""
  42. var num: String = ""
  43. var code: String = ""
  44. }
  45. @AutoCodable
  46. class LNCountryCodeListResponse: Decodable {
  47. var list: [LNCountryCodeVO] = []
  48. }