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
/
ValidityDocument
Validity
Document
@
MappedEntity
data
class
ValidityDocument
(
val
type
:
String
,
val
start
:
String
?
,
val
end
:
String
?
,
val
startMonth
:
Int
?
,
val
startDay
:
Int
?
,
val
endMonth
:
Int
?
,
val
endDay
:
Int
?
,
val
days
:
List
<
Int
>
?
,
val
startHour
:
String
?
,
val
endHour
:
String
?
,
val
first
:
ValidityDocument
?
,
val
second
:
ValidityDocument
?
)
Members
Members & Extensions
Constructors
Validity
Document
Link copied to clipboard
constructor
(
type
:
String
,
start
:
String
?
,
end
:
String
?
,
startMonth
:
Int
?
,
startDay
:
Int
?
,
endMonth
:
Int
?
,
endDay
:
Int
?
,
days
:
List
<
Int
>
?
,
startHour
:
String
?
,
endHour
:
String
?
,
first
:
ValidityDocument
?
,
second
:
ValidityDocument
?
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
days
Link copied to clipboard
val
days
:
List
<
Int
>
?
end
Link copied to clipboard
val
end
:
String
?
end
Day
Link copied to clipboard
val
endDay
:
Int
?
end
Hour
Link copied to clipboard
val
endHour
:
String
?
end
Month
Link copied to clipboard
val
endMonth
:
Int
?
first
Link copied to clipboard
val
first
:
ValidityDocument
?
second
Link copied to clipboard
val
second
:
ValidityDocument
?
start
Link copied to clipboard
val
start
:
String
?
start
Day
Link copied to clipboard
val
startDay
:
Int
?
start
Hour
Link copied to clipboard
val
startHour
:
String
?
start
Month
Link copied to clipboard
val
startMonth
:
Int
?
type
Link copied to clipboard
val
type
:
String
Functions
to
Domain
Link copied to clipboard
fun
ValidityDocument
.
toDomain
(
)
:
Validity