Skip to content

Instantly share code, notes, and snippets.

@ngallazzi
Created January 8, 2021 15:28
Show Gist options
  • Save ngallazzi/f4182aa9fddf6ee187bf651187f7d61d to your computer and use it in GitHub Desktop.
Save ngallazzi/f4182aa9fddf6ee187bf651187f7d61d to your computer and use it in GitHub Desktop.
@Entity(tableName = "book")
data class BookEntity(
@PrimaryKey
val id: String,
val title: String,
val authors: List<String>,
val imageUrl: String?
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment