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

import Cocoa

class MasterFurnitureMapper: JSONMapper {
    typealias ObjectType = MasterFurniture

    let apiResponse: APIResponse
    let configuration = MappingConfiguration(entity: MasterFurniture.entity,
                                             dataKeys: ["api_data", "api_mst_furniture"],
                                             editorStore: ServerDataStore.oneTimeEditor(),
                                             ignoreKeys: ["api_season"])
    
    required init(_ apiResponse: APIResponse) {
        self.apiResponse = apiResponse
    }
}
