Skip to content

Instantly share code, notes, and snippets.

@sberoch
Created July 13, 2020 14:02
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 sberoch/8ddd4e60f778e06e2ede63d4b882eebb to your computer and use it in GitHub Desktop.
Save sberoch/8ddd4e60f778e06e2ede63d4b882eebb to your computer and use it in GitHub Desktop.
@Entity(tableName = "characters")
data class Character(
val created: String,
val gender: String,
@PrimaryKey
val id: Int,
val image: String,
val name: String,
val species: String,
val status: String,
val type: String,
val url: String
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment