Skip to content

Instantly share code, notes, and snippets.

@mitchtabian
Last active February 10, 2021 18:10
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 mitchtabian/8d176836cc31df5562b5a971af380eea to your computer and use it in GitHub Desktop.
Save mitchtabian/8d176836cc31df5562b5a971af380eea to your computer and use it in GitHub Desktop.
data class Recipe (
val id: Int? = null,
val title: String? = null,
val publisher: String? = null,
val featuredImage: String? = null,
val rating: Int? = 0,
val sourceUrl: String? = null,
val description: String? = null,
val cookingInstructions: String? = null,
val ingredients: List<String> = listOf(),
val dateAdded: String? = null,
val dateUpdated: String? = null,
)
data class Recipe (
val id: Int,
val title: String,
val publisher: String,
val featuredImage: String,
val rating: Int,
val sourceUrl: String,
val ingredients: List<String> = listOf(),
val dateAdded: Date,
val dateUpdated: Date,
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment