1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- //
- // CommunityMemberFollowTopicListModel.swift
- // Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport
- import Foundation
- import ObjectMapper
- class CommunityMemberFollowTopicListModel : NSObject, Mappable{
- var data : [CommunityMemberFollowTopicListDataModel]?
- var pagination : PaginationModel?
- class func newInstance(map: Map) -> Mappable?{
- return CommunityMemberFollowTopicListModel()
- }
- required init?(map: Map){}
- private override init(){}
- func mapping(map: Map)
- {
- data <- map["data"]
- pagination <- map["pagination"]
-
- }
- }
- class CommunityMemberFollowTopicListDataModel : NSObject, Mappable{
-
- var id : Int?
- var isSuggest : Int?
- var topicId : Int?
- var topicName : String?
- var uid : Int?
- var isFollow : Int = 1
-
-
- class func newInstance(map: Map) -> Mappable?{
- return CommunityMemberFollowTopicListDataModel()
- }
- required init?(map: Map){}
- private override init(){}
-
- func mapping(map: Map)
- {
- id <- map["id"]
- isSuggest <- map["is_suggest"]
- topicId <- map["topic_id"]
- topicName <- map["topic_name"]
- uid <- map["uid"]
-
- }
- }
|