munchies
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
munchies
restaurant-service
/
com.munchies.restaurant.infrastructure.adapter.outbound.mongo.document
/
MenuItemDocument
Menu
Item
Document
@
MappedEntity
data
class
MenuItemDocument
(
val
id
:
String
,
val
name
:
String
,
val
description
:
String
,
val
price
:
String
,
val
validity
:
ValidityDocument
,
val
variations
:
List
<
VariationDocument
>
)
Members
Members & Extensions
Constructors
Menu
Item
Document
Link copied to clipboard
constructor
(
id
:
String
,
name
:
String
,
description
:
String
,
price
:
String
,
validity
:
ValidityDocument
,
variations
:
List
<
VariationDocument
>
)
Properties
description
Link copied to clipboard
val
description
:
String
id
Link copied to clipboard
val
id
:
String
name
Link copied to clipboard
val
name
:
String
price
Link copied to clipboard
val
price
:
String
validity
Link copied to clipboard
val
validity
:
ValidityDocument
variations
Link copied to clipboard
val
variations
:
List
<
VariationDocument
>
Functions
to
Domain
Link copied to clipboard
fun
MenuItemDocument
.
toDomain
(
)
:
MenuItem