-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTask+CoreDataProperties.swift
54 lines (40 loc) · 1.29 KB
/
Task+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
45
46
47
48
49
50
51
52
53
54
//
// Task+CoreDataProperties.swift
// taskify-app
//
// Created by Sohail Shiraj.
//
//
import Foundation
import CoreData
extension Task {
@nonobjc public class func fetchRequest() -> NSFetchRequest<Task> {
return NSFetchRequest<Task>(entityName: "Task")
}
@NSManaged public var creationDate: Date?
@NSManaged public var detail: String?
@NSManaged public var endDate: Date?
@NSManaged public var hours: Int16
@NSManaged public var ratePerHour: Int16
@NSManaged public var startDate: Date?
@NSManaged public var status: String?
@NSManaged public var title: String?
@NSManaged public var feeback: TaskFeedback?
@NSManaged public var location: Location?
@NSManaged public var proposals: NSSet?
@NSManaged public var requester: User?
@NSManaged public var tasker: User?
}
// MARK: Generated accessors for proposals
extension Task {
@objc(addProposalsObject:)
@NSManaged public func addToProposals(_ value: TaskProposal)
@objc(removeProposalsObject:)
@NSManaged public func removeFromProposals(_ value: TaskProposal)
@objc(addProposals:)
@NSManaged public func addToProposals(_ values: NSSet)
@objc(removeProposals:)
@NSManaged public func removeFromProposals(_ values: NSSet)
}
extension Task : Identifiable {
}