Skip to content

Instantly share code, notes, and snippets.

@ezero9
Last active September 7, 2019 09:24
class UserVO {
var id: String!
var name: String!
}
class UserDAO {
func create(user: UserVO) { .. }
func read(id: String) -> UserVO { .. }
func update(user: UserVO) { .. }
func delete(id: String) { .. }
func deleteAll() { .. }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment