     var article_topic_count: String? /// 话题个数
     var post_count: String?/// 转发数
     
+    required init?(map: Map){}
+    
+    func mapping(map: Map) {
+        user_id <- map["user_id"]
+        nickname <- map["nickname"]
+        avatar <- map["avatar"]
+        is_official <- map["is_official"]
+        article_topic_count <- map["article_topic_count"]
+        post_count <- map["post_count"]
+    }
 }
 
 
 /// 话题模型
-class Topic: NSObject {
+class Topic: Mappable {
     
     var id: String?
     var type: String?

    var photo_height: String?
    var is_show_icon: Bool = false
    
}

    var pics: [[String: AnyObject]]?
    var channel: [String: AnyObject]?
    var video: [String: AnyObject]?
    
    required init?(map: Map){}
    func mapping(map: Map) {
        id <- map["id"]
        type <- map["type"]
        type_id <- map["type_id"]
        title <- map["title"]
        subtitle <- map["subtitle"]
        pic <- map["pic"]
        is_show_like <- map["is_show_like"]
        is_recommend <- map["is_recommend"]
        create_time_str <- map["create_time_str"]
        islike <- map["islike"]
        likes <- map["likes"]
        views <- map["views"]
        comments <- map["comments"]
        update_time <- map["update_time"]
        user <- map["user"]
        pics <- map["pics"]
        channel <- map["channel"]
        video <- map["video"]
    }
}



/// 首页轮播图对应的模型
class Banner: Mappable {
    
    var id: String?
    var title: String?
