frenzy-ios/Reader/CoreData/Item+CoreDataProperties.swift

33 lines
642 B
Swift
Raw Normal View History

2022-01-09 22:13:30 +00:00
//
2022-01-09 22:21:27 +00:00
// Item+CoreDataProperties.swift
2022-01-09 22:13:30 +00:00
// Reader
//
// Created by Shadowfacts on 1/9/22.
//
2022-01-09 22:21:27 +00:00
//
2022-01-09 22:13:30 +00:00
2022-01-09 22:21:27 +00:00
import Foundation
2022-01-09 22:13:30 +00:00
import CoreData
2022-01-09 22:21:27 +00:00
extension Item {
2022-01-09 22:13:30 +00:00
@nonobjc public class func fetchRequest() -> NSFetchRequest<Item> {
return NSFetchRequest<Item>(entityName: "Item")
}
2022-01-09 22:21:27 +00:00
2022-01-09 22:13:30 +00:00
@NSManaged public var author: String?
@NSManaged public var content: String?
@NSManaged public var id: String?
@NSManaged public var published: Date?
2022-01-09 22:21:27 +00:00
@NSManaged public var read: Bool
@NSManaged public var title: String?
2022-01-09 22:13:30 +00:00
@NSManaged public var url: URL?
@NSManaged public var feed: Feed?
2022-01-09 22:21:27 +00:00
}
extension Item : Identifiable {
2022-01-09 22:13:30 +00:00
}