Skip to content

Instantly share code, notes, and snippets.

@aleweichandt
Created August 16, 2021 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aleweichandt/8a8d8ebed1b213fcd0ffda17f694062c to your computer and use it in GitHub Desktop.
Save aleweichandt/8a8d8ebed1b213fcd0ffda17f694062c to your computer and use it in GitHub Desktop.
Entity example
@Entity(tableName = "todo")
data class TodoEntity(
@PrimaryKey val uuid: Long,
val value: String,
val body: String,
val completed: Boolean,
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment