12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- //
- // UserDetailModel.swift
- // Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport
- import Foundation
- import ObjectMapper
- class UserDetailModel : NSObject, Mappable{
- var activityDegree : Int?
- var avatar : String?
- var backgroundImg : String?
- var behaviorData : String?
- var cityId : String?
- var cityName : String?
- var collectCount : String?
- var commentCount : String?
- var createdAt : String?
- var fansCount : String?
- var followCount : String?
- var gender : Int?
- var inviteCode : String?
- var inviteUid : Int?
- var labelName : AnyObject?
- var memberStatus : Int?
- var mobile : String?
- var openId : AnyObject?
- var postCount : String?
- var praiseCount : String?
- var qualityDegree : Int?
- var rainbowBean : Int?
- var remark : String?
- var shareCount : String?
- var signature : String?
- var snsData : String?
- var snsStatus : Int?
- var strength : Int?
- var totalBean : Int?
- var type : Int?
- var uid : Int?
- var unionId : AnyObject?
- var updatedAt : String?
- var username : String?
- var isFollowStatus : Int?
- class func newInstance(map: Map) -> Mappable?{
- return UserDetailModel()
- }
- required init?(map: Map){}
- private override init(){}
- func mapping(map: Map)
- {
- activityDegree <- map["activity_degree"]
- avatar <- map["avatar"]
- backgroundImg <- map["background_img"]
- behaviorData <- map["behavior_data"]
- cityId <- map["city_id"]
- cityName <- map["city_name"]
- collectCount <- map["collect_count"]
- commentCount <- map["comment_count"]
- createdAt <- map["created_at"]
- fansCount <- map["fans_count"]
- followCount <- map["follow_count"]
- gender <- map["gender"]
- inviteCode <- map["invite_code"]
- inviteUid <- map["invite_uid"]
- labelName <- map["label_name"]
- memberStatus <- map["member_status"]
- mobile <- map["mobile"]
- openId <- map["open_id"]
- postCount <- map["post_count"]
- praiseCount <- map["praise_count"]
- qualityDegree <- map["quality_degree"]
- rainbowBean <- map["rainbow_bean"]
- remark <- map["remark"]
- shareCount <- map["share_count"]
- signature <- map["signature"]
- snsData <- map["sns_data"]
- snsStatus <- map["sns_status"]
- strength <- map["strength"]
- totalBean <- map["total_bean"]
- type <- map["type"]
- uid <- map["uid"]
- unionId <- map["union_id"]
- updatedAt <- map["updated_at"]
- username <- map["username"]
- isFollowStatus <- map["is_follow_status"]
-
- }
- }
|