munchies
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
munchies
restaurant-service
/
com.munchies.restaurant.application.usecase.menu
/
ValidityInput
Validity
Input
sealed
interface
ValidityInput
Inheritors
Period
Yearly
Weekly
From
Until
Always
Hours
And
Members
Members & Extensions
Types
Always
Link copied to clipboard
data
object
Always
:
ValidityInput
And
Link copied to clipboard
data
class
And
(
val
first
:
ValidityInput
,
val
second
:
ValidityInput
)
:
ValidityInput
From
Link copied to clipboard
data
class
From
(
val
start
:
String
)
:
ValidityInput
Hours
Link copied to clipboard
data
class
Hours
(
val
start
:
String
,
val
end
:
String
)
:
ValidityInput
Period
Link copied to clipboard
data
class
Period
(
val
start
:
String
,
val
end
:
String
)
:
ValidityInput
Until
Link copied to clipboard
data
class
Until
(
val
end
:
String
)
:
ValidityInput
Weekly
Link copied to clipboard
data
class
Weekly
(
val
days
:
List
<
Int
>
)
:
ValidityInput
Yearly
Link copied to clipboard
data
class
Yearly
(
val
startMonth
:
Int
,
val
startDay
:
Int
,
val
endMonth
:
Int
,
val
endDay
:
Int
)
:
ValidityInput
Functions
to
Domain
Link copied to clipboard
open
fun
toDomain
(
)
:
Validity
to
Dto
Link copied to clipboard
fun
ValidityInput
.
toDto
(
)
:
ValidityDto