// // StuLogFacDataModel.swift // JiaPeiManage // // Created by Ning.ge on 2023/6/21. // import ObjectMapper struct StuLogFacInfoModel : ImmutableMappable{ var crdate : String! var img : String! var sim : String! var similar : String! var sourceimg : String! var type : Int! init(map: Map) throws { crdate = try map.value("crdate") ?? "" img = try map.value("img") ?? "" sim = try map.value("sim") ?? "" similar = try map.value("similar") ?? "" sourceimg = try map.value("sourceimg") ?? "" type = try map.value("type") ?? 0 } } struct StuLogFacDataModel : ImmutableMappable{ var code : Int! var msg : String! var rows : [StuLogFacInfoModel]! var total : Int! init(map: Map) throws { code = try map.value("code") msg = try map.value("msg") ?? "" rows = try map.value("rows") total = try map.value("total") ?? 0 } }