Ingredient

@Serializable
data class Ingredient(val name: String, val quantity: Int)

Data class representing an ingredient

Parameters

name

of the ingredient

quantity

of the ingredient in the warehouse

Constructors

Link copied to clipboard
constructor(name: String, quantity: Int)

Properties

Link copied to clipboard
Link copied to clipboard