Skip to content

Instantly share code, notes, and snippets.

@hieuwu
Created August 1, 2023 14:24
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 hieuwu/8ee9d3dba3daaac69ba6aeafc74719a2 to your computer and use it in GitHub Desktop.
Save hieuwu/8ee9d3dba3daaac69ba6aeafc74719a2 to your computer and use it in GitHub Desktop.
@Serializable
data class ProductDto(
@SerialName("name")
val name: String,
@SerialName("price")
val price: Double,
@SerialName("image")
val image: String?,
@SerialName("id")
val id: String,
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment