//
//  KeyboardModel.swift
//  AiKeyboard
//
//  Created by Destiny on 2025/4/29.
//

import Foundation
import ObjectMapper

// MARK: Initializer and Properties
struct KeyboardModel: Mappable {

    var id: String?
    /*
    类型
    system：系统键盘
    custom：定制键盘
    */
    var type: String?
    
    var name: String?
    
    var gender: Int?
    
    var birthday: String?
    
    var intimacy: Int?
    
    var imageUrl: String?
    
    var isChoose: Bool?

    // MARK: JSON
    init?(map: Map) { }

    mutating func mapping(map: Map) {
        id <- map["id"]
        type <- map["type"]
        name <- map["name"]
        gender <- map["gender"]
        birthday <- map["birthday"]
        intimacy <- map["intimacy"]
        imageUrl <- map["imageUrl"]
        isChoose <- map["isChoose"]
    }
}
