forked from woocommerce/woocommerce-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
InboxNote+CoreDataProperties.swift
44 lines (31 loc) · 1.12 KB
/
InboxNote+CoreDataProperties.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import Foundation
import CoreData
extension InboxNote {
@nonobjc public class func fetchRequest() -> NSFetchRequest<InboxNote> {
return NSFetchRequest<InboxNote>(entityName: "InboxNote")
}
@NSManaged public var content: String?
@NSManaged public var isRemoved: Bool
@NSManaged public var id: Int64
@NSManaged public var name: String?
@NSManaged public var isRead: Bool
@NSManaged public var siteID: Int64
@NSManaged public var status: String?
@NSManaged public var title: String?
@NSManaged public var type: String?
@NSManaged public var dateCreated: Date?
@NSManaged public var actions: Set<InboxAction>?
}
// MARK: Generated accessors for actions
extension InboxNote {
@objc(addActionsObject:)
@NSManaged public func addToActions(_ value: InboxAction)
@objc(removeActionsObject:)
@NSManaged public func removeFromActions(_ value: InboxAction)
@objc(addActions:)
@NSManaged public func addToActions(_ values: NSSet)
@objc(removeActions:)
@NSManaged public func removeFromActions(_ values: NSSet)
}
extension InboxNote: Identifiable {
}