65 lines
1.3 KiB
Swift
65 lines
1.3 KiB
Swift
//
|
|
// Feed+CoreDataProperties.swift
|
|
// Reader
|
|
//
|
|
// Created by Shadowfacts on 1/9/22.
|
|
//
|
|
//
|
|
|
|
import Foundation
|
|
import CoreData
|
|
|
|
|
|
extension Feed {
|
|
|
|
@nonobjc public class func fetchRequest() -> NSFetchRequest<Feed> {
|
|
return NSFetchRequest<Feed>(entityName: "Feed")
|
|
}
|
|
|
|
@NSManaged public var id: String?
|
|
@NSManaged public var lastUpdated: Date?
|
|
@NSManaged public var title: String?
|
|
@NSManaged public var url: URL?
|
|
@NSManaged public var groups: NSSet?
|
|
@NSManaged public var items: NSSet?
|
|
|
|
}
|
|
|
|
// MARK: Generated accessors for groups
|
|
extension Feed {
|
|
|
|
@objc(addGroupsObject:)
|
|
@NSManaged public func addToGroups(_ value: Group)
|
|
|
|
@objc(removeGroupsObject:)
|
|
@NSManaged public func removeFromGroups(_ value: Group)
|
|
|
|
@objc(addGroups:)
|
|
@NSManaged public func addToGroups(_ values: NSSet)
|
|
|
|
@objc(removeGroups:)
|
|
@NSManaged public func removeFromGroups(_ values: NSSet)
|
|
|
|
}
|
|
|
|
// MARK: Generated accessors for items
|
|
extension Feed {
|
|
|
|
@objc(addItemsObject:)
|
|
@NSManaged public func addToItems(_ value: Item)
|
|
|
|
@objc(removeItemsObject:)
|
|
@NSManaged public func removeFromItems(_ value: Item)
|
|
|
|
@objc(addItems:)
|
|
@NSManaged public func addToItems(_ values: NSSet)
|
|
|
|
@objc(removeItems:)
|
|
@NSManaged public func removeFromItems(_ values: NSSet)
|
|
|
|
}
|
|
|
|
extension Feed : Identifiable {
|
|
|
|
}
|