import Cocoa
-class MasterSTypeMapper: JSONMapper {
+final class MasterSTypeMapper: JSONMapper {
+
let apiResponse: APIResponse
- let configuration = MappingConfiguration(entityType: MasterSType.self,
- dataKey: "api_data.api_mst_stype",
+ let configuration = MappingConfiguration(entity: MasterSType.self,
+ dataKeys: ["api_data", "api_mst_stype"],
editorStore: ServerDataStore.oneTimeEditor(),
ignoreKeys: ["api_equip_type"])
required init(_ apiResponse: APIResponse) {
+
self.apiResponse = apiResponse
}
}