//
//  Activity+CoreDataProperties.swift
//  LeCountdown
//
//  Created by Laurent Morvillier on 01/02/2023.
//
//

import Foundation
import CoreData


extension Activity {

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

    @NSManaged public var name: String?
    @NSManaged public var records: NSSet?
    @NSManaged public var timers: NSSet?

}

// MARK: Generated accessors for records
extension Activity {

    @objc(addRecordsObject:)
    @NSManaged public func addToRecords(_ value: Record)

    @objc(removeRecordsObject:)
    @NSManaged public func removeFromRecords(_ value: Record)

    @objc(addRecords:)
    @NSManaged public func addToRecords(_ values: NSSet)

    @objc(removeRecords:)
    @NSManaged public func removeFromRecords(_ values: NSSet)

}

// MARK: Generated accessors for timers
extension Activity {

    @objc(addTimersObject:)
    @NSManaged public func addToTimers(_ value: AbstractTimer)

    @objc(removeTimersObject:)
    @NSManaged public func removeFromTimers(_ value: AbstractTimer)

    @objc(addTimers:)
    @NSManaged public func addToTimers(_ values: NSSet)

    @objc(removeTimers:)
    @NSManaged public func removeFromTimers(_ values: NSSet)

}

extension Activity : Identifiable {

}
