import Cocoa
-class MasterMapInfoMapper: JSONMapper {
+final class MasterMapInfoMapper: JSONMapper {
+
let apiResponse: APIResponse
- let configuration = MappingConfiguration(entityType: KCMasterMapInfo.self,
- dataKey: "api_data.api_mst_mapinfo",
+ let configuration = MappingConfiguration(entity: MasterMapInfo.self,
+ dataKeys: ["api_data", "api_mst_mapinfo"],
editorStore: ServerDataStore.oneTimeEditor())
required init(_ apiResponse: APIResponse) {
+
self.apiResponse = apiResponse
}
}