Created
October 25, 2015 09:05
-
-
Save s4cha/9fc6c6356363ea1691ad 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
protocol Identifiable { | |
var identifier:Int {get} | |
} | |
struct Customer:Identifiable { | |
var identifier:Int = 0 | |
} | |
struct Product:Identifiable { | |
var identifier:Int = 0 | |
} | |
struct Order:Identifiable { | |
var identifier:Int = 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment