passepartout-apple/Passepartout/Library/Sources/LegacyV2/Domain/CDProfile.swift
Davide e514ade036
Add logic to migrate v2 profiles (#854)
Will add UI separately.

Fixes #642
2024-11-12 16:42:19 +01:00

17 lines
445 B
Swift

import CoreData
import Foundation
@objc(CDProfile)
final class CDProfile: NSManagedObject {
@nonobjc static func fetchRequest() -> NSFetchRequest<CDProfile> {
NSFetchRequest<CDProfile>(entityName: "CDProfile")
}
@NSManaged var json: Data?
@NSManaged var encryptedJSON: Data?
@NSManaged var name: String?
@NSManaged var providerName: String?
@NSManaged var uuid: UUID?
@NSManaged var lastUpdate: Date?
}