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
/
MenuDocument
Menu
Document
@
MappedEntity
data
class
MenuDocument
(
val
id
:
String
,
val
restaurantId
:
String
,
val
name
:
String
,
val
validity
:
ValidityDocument
,
val
categories
:
List
<
CategoryDocument
>
)
Members
Members & Extensions
Constructors
Menu
Document
Link copied to clipboard
constructor
(
id
:
String
,
restaurantId
:
String
,
name
:
String
,
validity
:
ValidityDocument
,
categories
:
List
<
CategoryDocument
>
)
Properties
categories
Link copied to clipboard
val
categories
:
List
<
CategoryDocument
>
id
Link copied to clipboard
@
Id
val
id
:
String
name
Link copied to clipboard
val
name
:
String
restaurant
Id
Link copied to clipboard
val
restaurantId
:
String
validity
Link copied to clipboard
val
validity
:
ValidityDocument
Functions
to
Domain
Link copied to clipboard
fun
MenuDocument
.
toDomain
(
)
:
Menu