Of Course:
import Foundation
import CoreData
@objc(AccountBackEnd)
public class AccountBackEnd: NSManagedObject {
}
And...
import Foundation
import CoreData
extension AccountBackEnd {
@nonobjc public class func fetchRequest() -> NSFetchRequest<AccountBackEnd> {
return NSFetchRequest<AccountBackEnd>(entityName: "AccountBackEnd")
}
@NSManaged public var accountAddress: String?
@NSManaged public var accountCity: String?
@NSManaged public var accountCompanyName: String?
@NSManaged public var accountCustomerType: String?
@NSManaged public var accountEmailAddress: String?
@NSManaged public var accountID: UUID?
@NSManaged public var accountLastDateVisited: String?
@NSManaged public var accountMarketType: String?
@NSManaged public var accountPhoneOne: String?
@NSManaged public var accountPhoneTwo: String?
@NSManaged public var accountPostalCode: String?
@NSManaged public var accountProvince: String?
@NSManaged public var accountManager: String?
@NSManaged public var accountWebsite: String?
@NSManaged public var toContacts: NSSet?
@NSManaged public var toQuotes: NSSet?
@NSManaged public var toNotes: NSSet?
}
// MARK: Generated accessors for toContacts
extension AccountBackEnd {
@objc(addToContactsObject:)
@NSManaged public func addToToContacts(_ value: ContactBackEnd)
@objc(removeToContactsObject:)
@NSManaged public func removeFromToContacts(_ value: ContactBackEnd)
@objc(addToContacts:)
@NSManaged public func addToToContacts(_ values: NSSet)
@objc(removeToContacts:)
@NSManaged public func removeFromToContacts(_ values: NSSet)
}
// MARK: Generated accessors for toQuotes
extension AccountBackEnd {
@objc(addToQuotesObject:)
@NSManaged public func addToToQuotes(_ value: QuotesBackEnd)
@objc(removeToQuotesObject:)
@NSManaged public func removeFromToQuotes(_ value: QuotesBackEnd)
@objc(addToQuotes:)
@NSManaged public func addToToQuotes(_ values: NSSet)
@objc(removeToQuotes:)
@NSManaged public func removeFromToQuotes(_ values: NSSet)
}
// MARK: Generated accessors for toNotes
extension AccountBackEnd {
@objc(addToNotesObject:)
@NSManaged public func addToToNotes(_ value: NoteBackEnd)
@objc(removeToNotesObject:)
@NSManaged public func removeFromToNotes(_ value: NoteBackEnd)
@objc(addToNotes:)
@NSManaged public func addToToNotes(_ values: NSSet)
@objc(removeToNotes:)
@NSManaged public func removeFromToNotes(_ values: NSSet)
}
extension AccountBackEnd : Identifiable {
}
Post
Replies
Boosts
Views
Activity
Of course - please see my second post.