enum IndustryDetailDisplayBufferType :String{
case industry = "industry"
case building = "building"
case enterprise = "enterprise"
case mechant = "mechant"
case poi = "poi"
}
struct IndustrySearchSortedType : Mappable {
var isSearchedSubItems:Bool = false
var sortedModel : IndustryDetailDisplayBufferType?
init?(map:Map) {
}
mutating func mapping(map:Map) {
isSearchedSubItems <- map["isSearchedSubItems"]
sortedModel <- (map["sortedModel"],EnumTransform<IndustryDetailDisplayBufferType>())
}
static func fromJsonString(str:String?) -> IndustrySearchSortedType?{
if let str = str {
return Mapper<IndustrySearchSortedType>().map(JSONString: str)
}else {
return nil
}
}
}