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
/
CategoryDocument
Category
Document
@
MappedEntity
data
class
CategoryDocument
(
val
id
:
String
,
val
name
:
String
,
val
items
:
List
<
MenuItemDocument
>
,
val
variations
:
List
<
VariationDocument
>
)
Members
Members & Extensions
Constructors
Category
Document
Link copied to clipboard
constructor
(
id
:
String
,
name
:
String
,
items
:
List
<
MenuItemDocument
>
,
variations
:
List
<
VariationDocument
>
)
Properties
id
Link copied to clipboard
val
id
:
String
items
Link copied to clipboard
val
items
:
List
<
MenuItemDocument
>
name
Link copied to clipboard
val
name
:
String
variations
Link copied to clipboard
val
variations
:
List
<
VariationDocument
>
Functions
to
Domain
Link copied to clipboard
fun
CategoryDocument
.
toDomain
(
)
:
Category