Created
December 27, 2016 18:58
-
-
Save abdulowork/d855901300d2d59513323b74101078f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import RealmSwift | |
class MarketGroup: Object { | |
dynamic var marketGroupID: Int = -1 | |
dynamic var parentGroup: MarketGroup? = nil | |
dynamic var marketGroupName: String = "" | |
dynamic var groupDescription: String = "" | |
dynamic var hasTypes: Bool = false | |
var iconID: RealmOptional<Int> = RealmOptional(nil) | |
override static func primaryKey() -> String? { | |
return "marketGroupID" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment