toggle menu
WarehouseService
jvm
switch theme
search in API
WarehouseService
/
domain
/
Ingredient
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
Members
Constructors
Ingredient
Link copied to clipboard
constructor
(
name
:
String
,
quantity
:
Int
)
Properties
name
Link copied to clipboard
val
name
:
String
quantity
Link copied to clipboard
val
quantity
:
Int