import Foundation
import CoreData

@objc(ChangeLog)
public class ChangeLog: NSManagedObject {

}

extension ChangeLog {

    @nonobjc public class func fetchRequest() -> NSFetchRequest<ChangeLog> {
        return NSFetchRequest<ChangeLog>(entityName: "ChangeLog")
    }

    @NSManaged public var changedAt: Date
    @NSManaged public var changeDescription: String
    @NSManaged public var changeType: String
    @NSManaged public var link: Link

}

extension ChangeLog : Identifiable {

    public var id: NSManagedObjectID {
        return self.objectID
    }
}
