You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
LeStorage/LeStorage/ModelObject.swift

32 lines
598 B

//
// ModelObject.swift
// LeStorage
//
// Created by Laurent Morvillier on 05/02/2024.
//
import Foundation
/// A class used as the root class for Storable objects
/// Provides default implementations of the Storable protocol
open class ModelObject {
public var store: Store? = nil
public init() { }
open func deleteDependencies() throws {
}
open func copyFromServerInstance(_ instance: any Storable) -> Bool {
return false
}
static var relationshipNames: [String] = []
open func hasBeenDeleted() {
}
}