We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0caf638 commit 6539d41Copy full SHA for 6539d41
src/main/kotlin/com/ctrlhub/core/assets/vehicles/payload/VehicleInspectionPayload.kt
@@ -1,11 +1,16 @@
1
package com.ctrlhub.core.assets.vehicles.payload
2
3
+import com.ctrlhub.core.serializer.LocalDateTimeSerializer
4
import kotlinx.serialization.SerialName
5
import kotlinx.serialization.Serializable
6
+import java.time.LocalDateTime
7
8
@Serializable
9
data class VehicleInspectionPayload(
- val checks: VehicleInspectionChecksPayload
10
+ val checks: VehicleInspectionChecksPayload,
11
+
12
+ @Serializable(with = LocalDateTimeSerializer::class)
13
+ @SerialName("inspected_at") val inspectedAt: LocalDateTime
14
)
15
16
0 commit comments