//
//  QSLMessageModel.swift
//  QuickSearchLocation
//
//  Created by Destiny on 2024/12/5.
//

import MoyaMapper
import SwiftyJSON

struct QSLMessageModel: Modelable {
    
    var messageId: Int = 0
    
    /*
    1:你的好友请求已经发送
    2:你的好友请求已经被接受
    3:你的好友请求已经被拒绝
    4:好友发来的求救
    5:你的好友删除了你
    */
    var type: Int = 0
    
    var senderId: String = ""
    
    var senderPhone: String = ""
    
    var content: String = ""
    
    var createTime: String = ""
    
    mutating func mapping(_ json: JSON) {
        self.messageId = json["id"].intValue
    }
}
