Created
September 18, 2018 06:33
-
-
Save Sottti/2f71d09529bfb7cbf3e54315a00d7d15 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
@Entity(tableName = "Users") | |
data class UserRM( | |
@PrimaryKey | |
@ColumnInfo(name = "id") | |
val id: Int, | |
@ColumnInfo(name = "name") | |
val name: String, | |
@ColumnInfo(name = "age") | |
val age: Int | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment