2 // MasterMapAreaMapper.swift
5 // Created by Hori,Masaki on 2017/02/22.
6 // Copyright © 2017年 Hori,Masaki. All rights reserved.
11 final class MasterMapAreaMapper: JSONMapper {
13 typealias ObjectType = MasterMapArea
15 let apiResponse: APIResponse
16 let configuration = MappingConfiguration(entity: MasterMapArea.entity,
17 dataKeys: ["api_data", "api_mst_maparea"],
18 editorStore: ServerDataStore.oneTimeEditor())
20 required init(_ apiResponse: APIResponse) {
22 self.apiResponse = apiResponse