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