Created
October 22, 2017 09:28
-
-
Save AkshayChordiya/ad625d28ec597f727ffd5b1eb086418e to your computer and use it in GitHub Desktop.
User entity model
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
@Entity(tableName = "users") | |
data class User( | |
@PrimaryKey(autoGenerate = true) | |
var id: Int = 0, | |
var name: String = "" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment