LNConfigResponse.swift 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. }
  49. @AutoCodable
  50. class LNBannerInfoVO: Decodable {
  51. var img: String = ""
  52. var title: String = ""
  53. var subtitle: String = ""
  54. var target: Int = 1
  55. var jump: String = ""
  56. var startTime: Double = 0
  57. var stopTime: Double = 0
  58. }
  59. @AutoCodable
  60. class LNListVOBannerInfoVO: Decodable {
  61. var list: [LNBannerInfoVO] = []
  62. }
  63. @AutoCodable
  64. class LNForceUpdateConfigResponse: Decodable {
  65. var platform: Int = 0
  66. var minVersion: String = ""
  67. var tip: String = ""
  68. }