File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
src/main/kotlin/org/datepollsystems/waiterrobot/mediator/data/api/dto Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 11package org.datepollsystems.waiterrobot.mediator.data.api.dto
22
3- import kotlinx.serialization.SerialName
43import kotlinx.serialization.Serializable
5- import kotlinx.serialization.Transient
64import org.datepollsystems.waiterrobot.mediator.core.ID
7- import java.time.LocalDate
85
96@Serializable
107data class GetEventDto (
118 val id : ID ,
129 val name : String ,
13- @SerialName(" date" ) private val dateString : String? = null ,
1410 val street : String ,
1511 val streetNumber : String ,
1612 val postalCode : String ,
1713 val city : String ,
1814 val organisationId : ID ,
1915 val isDemo : Boolean
20- ) {
21- @Transient
22- val date: LocalDate ? = dateString?.let { LocalDate .parse(it) }
23- }
16+ )
You can’t perform that action at this time.
0 commit comments