📅  最后修改于: 2022-03-11 14:55:40.596000             🧑  作者: Mango
// User.swift
import ObjectMapper
class User: Mappable {
required init?(map: Map) {}
func mapping(map: Map) {
name <- map["name"]
uid <- map["uid"]
}
var name:String = ""
var uid:Int = 0
}