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.
28 lines
545 B
28 lines
545 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] = []
|
|
|
|
}
|
|
|