Skip to content

Instantly share code, notes, and snippets.

@DenisBronx
Created September 3, 2019 22:50
Show Gist options
  • Save DenisBronx/0102ea8fca4e133f3e600623a6bc54b8 to your computer and use it in GitHub Desktop.
Save DenisBronx/0102ea8fca4e133f3e600623a6bc54b8 to your computer and use it in GitHub Desktop.
Repository Pattern Network DTO
// Network DTO
data class NetworkProduct(
@SerializedName("id")
val id: String?,
@SerializedName("name")
val name: String?,
@SerializedName("nowPrice")
val nowPrice: Double?,
@SerializedName("wasPrice")
val wasPrice: Double?
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment