Created
February 13, 2018 19:20
-
-
Save mczachurski/ff16fcf52787e13bac3d16513b53be65 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Foundation | |
class User : Codable { | |
var id: Int | |
var name: String | |
var email: String | |
var isLocked: Bool | |
init(id: Int, name: String, email: String, isLocked: Bool) { | |
self.id = id | |
self.name = name | |
self.email = email | |
self.isLocked = isLocked | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment