LNRelationResponse.swift 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. //
  2. // LNRelationResponse.swift
  3. // Lanu
  4. //
  5. // Created by OneeChan on 2025/12/14.
  6. //
  7. import Foundation
  8. import AutoCodable
  9. @AutoCodable
  10. class LNRelationUserVO: Decodable {
  11. var userNo: String = ""
  12. var relateion: LNUserRelationShip = LNUserRelationShip(rawValue: 0)
  13. var avatar: String = ""
  14. var nickname: String = ""
  15. var gender: LNUserGender = .unknow
  16. var age: Int = 0
  17. }
  18. @AutoCodable
  19. class LNUserFollowListResponse: Decodable {
  20. var list: [LNRelationUserVO] = []
  21. var next: String = ""
  22. var total: Int = 0
  23. }
  24. @AutoCodable
  25. class LNUserFansListResponse: Decodable {
  26. var list: [LNRelationUserVO] = []
  27. var next: String = ""
  28. var total: Int = 0
  29. }
  30. @AutoCodable
  31. class LNUserRelationVO: Decodable {
  32. var userNo: String = ""
  33. var relateion: LNUserRelationShip = LNUserRelationShip(rawValue: 0)
  34. }
  35. @AutoCodable
  36. class LNUserRelationRespones: Decodable {
  37. var list: [LNUserRelationVO] = []
  38. }
  39. @AutoCodable
  40. class LNUserBlackVO: Decodable {
  41. var userNo: String = ""
  42. var avatar: String = ""
  43. var nickname: String = ""
  44. var gender: LNUserGender = .unknow
  45. var age: Int = 0
  46. }
  47. @AutoCodable
  48. class LNUserBlackListResponse: Decodable {
  49. var list: [LNUserBlackVO] = []
  50. var next: String = ""
  51. }