mirror of
https://github.com/Mueller-Patrick/DHBW-Service-App.git
synced 2024-11-01 08:53:58 +00:00
Patrick Müller
f50ba8f19d
- Also adding lecturer entity and relationship between event and lecturers. - Preparation for CoreData refactoring
28 lines
486 B
Swift
28 lines
486 B
Swift
//
|
|
// Lecturer+CoreDataProperties.swift
|
|
// DHBW-Service
|
|
//
|
|
// Created by Patrick Müller on 10.02.21.
|
|
//
|
|
//
|
|
|
|
import Foundation
|
|
import CoreData
|
|
|
|
|
|
extension Lecturer {
|
|
|
|
@nonobjc public class func fetchRequest() -> NSFetchRequest<Lecturer> {
|
|
return NSFetchRequest<Lecturer>(entityName: "Lecturer")
|
|
}
|
|
|
|
@NSManaged public var email: String?
|
|
@NSManaged public var name: String?
|
|
@NSManaged public var event: RaPlaEvent?
|
|
|
|
}
|
|
|
|
extension Lecturer : Identifiable {
|
|
|
|
}
|