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