UserDetailModel.swift 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. //
  2. // UserDetailModel.swift
  3. // Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport
  4. import Foundation
  5. import ObjectMapper
  6. class UserDetailModel : NSObject, Mappable{
  7. var activityDegree : Int?
  8. var avatar : String?
  9. var backgroundImg : String?
  10. var behaviorData : String?
  11. var cityId : String?
  12. var cityName : String?
  13. var collectCount : String?
  14. var commentCount : String?
  15. var createdAt : String?
  16. var fansCount : String?
  17. var followCount : String?
  18. var gender : Int?
  19. var inviteCode : String?
  20. var inviteUid : Int?
  21. var labelName : AnyObject?
  22. var memberStatus : Int?
  23. var mobile : String?
  24. var openId : AnyObject?
  25. var postCount : String?
  26. var praiseCount : String?
  27. var qualityDegree : Int?
  28. var rainbowBean : Int?
  29. var remark : String?
  30. var shareCount : String?
  31. var signature : String?
  32. var snsData : String?
  33. var snsStatus : Int?
  34. var strength : Int?
  35. var totalBean : Int?
  36. var type : Int?
  37. var uid : Int?
  38. var unionId : AnyObject?
  39. var updatedAt : String?
  40. var username : String?
  41. var isFollowStatus : Int?
  42. class func newInstance(map: Map) -> Mappable?{
  43. return UserDetailModel()
  44. }
  45. required init?(map: Map){}
  46. private override init(){}
  47. func mapping(map: Map)
  48. {
  49. activityDegree <- map["activity_degree"]
  50. avatar <- map["avatar"]
  51. backgroundImg <- map["background_img"]
  52. behaviorData <- map["behavior_data"]
  53. cityId <- map["city_id"]
  54. cityName <- map["city_name"]
  55. collectCount <- map["collect_count"]
  56. commentCount <- map["comment_count"]
  57. createdAt <- map["created_at"]
  58. fansCount <- map["fans_count"]
  59. followCount <- map["follow_count"]
  60. gender <- map["gender"]
  61. inviteCode <- map["invite_code"]
  62. inviteUid <- map["invite_uid"]
  63. labelName <- map["label_name"]
  64. memberStatus <- map["member_status"]
  65. mobile <- map["mobile"]
  66. openId <- map["open_id"]
  67. postCount <- map["post_count"]
  68. praiseCount <- map["praise_count"]
  69. qualityDegree <- map["quality_degree"]
  70. rainbowBean <- map["rainbow_bean"]
  71. remark <- map["remark"]
  72. shareCount <- map["share_count"]
  73. signature <- map["signature"]
  74. snsData <- map["sns_data"]
  75. snsStatus <- map["sns_status"]
  76. strength <- map["strength"]
  77. totalBean <- map["total_bean"]
  78. type <- map["type"]
  79. uid <- map["uid"]
  80. unionId <- map["union_id"]
  81. updatedAt <- map["updated_at"]
  82. username <- map["username"]
  83. isFollowStatus <- map["is_follow_status"]
  84. }
  85. }