// // QSLRequestModel.swift // QuickSearchLocation // // Created by Destiny on 2024/12/5. // import MoyaMapper import SwiftyJSON struct QSLRequestModel: Modelable { // 请求id var requestId: Int = 0 // 请求发送者id var userId: String = "" // 请求发送者手机 var userPhone: String = "" // 请求接收者id(你) var friendId: String = "" // 请求接受者手机(你) var friendPhone: String = "" // 请求时间戳 var createTime: String = "" /* 1:待处理 2:接受 3:拒绝 */ var status: Int = 0 mutating func mapping(_ json: JSON) { self.requestId = json["id"].intValue } }