//
//  Console+CoreDataProperties.swift
//  Zockerhoehle
//
//  Created by Julian-Steffen Müller on 06.07.19.
//  Copyright © 2019 Julian-Steffen Müller. All rights reserved.
//
//

import Foundation
import CoreData


extension Console {

    @nonobjc public class func fetchRequest() -> NSFetchRequest<Console> {
        return NSFetchRequest<Console>(entityName: "Console")
    }

    @NSManaged public var generation: Int64
    @NSManaged public var manufacturer: String?
    @NSManaged public var name: String?
    @NSManaged public var accessories: NSSet
    @NSManaged public var games: NSSet
    @NSManaged public var logo: Logo?

}

// MARK: Generated accessors for accessories
extension Console {

    @objc(addAccessoriesObject:)
    @NSManaged public func addToAccessories(_ value: Accessory)

    @objc(removeAccessoriesObject:)
    @NSManaged public func removeFromAccessories(_ value: Accessory)

    @objc(addAccessories:)
    @NSManaged public func addToAccessories(_ values: NSSet)

    @objc(removeAccessories:)
    @NSManaged public func removeFromAccessories(_ values: NSSet)

}

// MARK: Generated accessors for games
extension Console {

    @objc(addGamesObject:)
    @NSManaged public func addToGames(_ value: Game)

    @objc(removeGamesObject:)
    @NSManaged public func removeFromGames(_ value: Game)

    @objc(addGames:)
    @NSManaged public func addToGames(_ values: NSSet)

    @objc(removeGames:)
    @NSManaged public func removeFromGames(_ values: NSSet)

}
