munchies
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
munchies
restaurant-service
/
com.munchies.restaurant.domain.aggregate
/
Restaurant
Restaurant
class
Restaurant
:
AggregateRoot
<
RestaurantId
>
Members
Members & Extensions
Types
Companion
Link copied to clipboard
object
Companion
Properties
address
Link copied to clipboard
val
address
:
Address
created
At
Link copied to clipboard
val
createdAt
:
LocalDateTime
details
Link copied to clipboard
var
details
:
RestaurantDetails
email
Link copied to clipboard
val
email
:
Email
id
Link copied to clipboard
open
override
val
id
:
RestaurantId
manager
Id
Link copied to clipboard
val
managerId
:
UserId
name
Link copied to clipboard
val
name
:
RestaurantName
phone
Link copied to clipboard
val
phone
:
Phone
updated
At
Link copied to clipboard
var
updatedAt
:
LocalDateTime
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
to
Document
Link copied to clipboard
fun
Restaurant
.
toDocument
(
)
:
RestaurantDocument
to
Dto
Link copied to clipboard
fun
Restaurant
.
toDto
(
)
:
RestaurantDto
update
Address
Link copied to clipboard
fun
updateAddress
(
newAddress
:
Address
)
update
Details
Link copied to clipboard
fun
updateDetails
(
newDetails
:
RestaurantDetails
)
update
Email
Link copied to clipboard
fun
updateEmail
(
newEmail
:
Email
)
update
Name
Link copied to clipboard
fun
updateName
(
newName
:
RestaurantName
)
update
Phone
Link copied to clipboard
fun
updatePhone
(
newPhone
:
Phone
)