Skip to content

Instantly share code, notes, and snippets.

@a914-gowtham
Last active April 20, 2022 17:22
Show Gist options
  • Save a914-gowtham/cdc3b078e22c803008011cc6526b63d3 to your computer and use it in GitHub Desktop.
Save a914-gowtham/cdc3b078e22c803008011cc6526b63d3 to your computer and use it in GitHub Desktop.
@Entity(tableName = "user_table")
data class User(
@PrimaryKey
val id: String,
val name: String,
val age: Int
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment