Skip to content

Instantly share code, notes, and snippets.

@tunitowen
Created May 19, 2017 07:57
Show Gist options
  • Save tunitowen/98c9d2920dfd8539a55969ab4343672a to your computer and use it in GitHub Desktop.
Save tunitowen/98c9d2920dfd8539a55969ab4343672a to your computer and use it in GitHub Desktop.
Room-GettingStarted-Entity
@Entity
data class Person(
@PrimaryKey(autoGenerate = true)
val uid: Long,
val firstName: String = "",
val lastName: String = ""
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment