Mercurial > public > lazybear
view LazyBear/Global Models/WatchlistCompany+CoreDataProperties.swift @ 412:a7c9dd0c5822
Main insider view implemented
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Tue, 08 Jun 2021 11:46:58 +0200 |
parents | 4c90e5b18632 |
children | 4effac4733b0 |
line wrap: on
line source
// // WatchlistCompany+CoreDataProperties.swift // LazyBear // // Created by Dennis Concepción Martín on 24/3/21. // // import Foundation import CoreData extension WatchlistCompany { @nonobjc public class func fetchRequest() -> NSFetchRequest<WatchlistCompany> { return NSFetchRequest<WatchlistCompany>(entityName: "WatchlistCompany") } @NSManaged public var symbol: String @NSManaged public var name: String @NSManaged public var watchlist: String } extension WatchlistCompany : Identifiable { } extension WatchlistCompany { static func == (lhs: WatchlistCompany, rhs: WatchlistCompany) -> Bool { print("Custom equation has been called") return lhs.id == rhs.id } }