//
//  MasterMapInfoMapper.swift
//  KCD
//
//  Created by Hori,Masaki on 2017/02/23.
//  Copyright © 2017年 Hori,Masaki. All rights reserved.
//

import Cocoa

class MasterMapInfoMapper: JSONMapper {
    typealias ObjectType = MasterMapInfo
    
    let apiResponse: APIResponse
    let configuration = MappingConfiguration(entity: MasterMapInfo.entity,
                                             dataKeys: ["api_data", "api_mst_mapinfo"],
                                             editorStore: ServerDataStore.oneTimeEditor())
    
    required init(_ apiResponse: APIResponse) {
        self.apiResponse = apiResponse
    }
}
