feat: add serializable data models with FlexibleStringSerializer for number coercion
This commit is contained in:
9 files changed
+291
No files matched your search
@@ -0,0 +1,14 @@
|
||||
package ch.parano.myice.models
|
||||
|
||||
import kotlinx.serialization.SerialName
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
data class EventDetail(
|
||||
val title: String = "",
|
||||
val type: String = "",
|
||||
val place: String = "",
|
||||
@SerialName("time_start") val timeStart: String = "",
|
||||
@SerialName("time_end") val timeEnd: String = "",
|
||||
val convocation: Convocation = Convocation(),
|
||||
)
|
||||
Reference in new issue
Block a user