aboutsummaryrefslogtreecommitdiff
path: root/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportSummary.kt
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-22 22:32:27 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-22 22:32:27 -0600
commit707b89f48297c68af514d6aa475b13624652df51 (patch)
tree4b63479f55e404a8b35e958a1e7a6b4439517096 /shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportSummary.kt
parent35da6cfb0b80b57a7c3c47c7f9f9b8a5f222019d (diff)
downloadetbsa-trackermap-mobile-707b89f48297c68af514d6aa475b13624652df51.tar.gz
etbsa-trackermap-mobile-707b89f48297c68af514d6aa475b13624652df51.tar.bz2
etbsa-trackermap-mobile-707b89f48297c68af514d6aa475b13624652df51.zip
Removed all Java references from shared module
Diffstat (limited to 'shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportSummary.kt')
-rw-r--r--shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportSummary.kt17
1 files changed, 10 insertions, 7 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportSummary.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportSummary.kt
index c6f59a6..25f5b9d 100644
--- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportSummary.kt
+++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/ReportSummary.kt
@@ -11,6 +11,8 @@
*/
package mx.trackermap.TrackerMap.client.models
+import kotlinx.serialization.Serializable
+
/**
*
@@ -22,18 +24,19 @@ package mx.trackermap.TrackerMap.client.models
* @param spentFuel in liters
* @param engineHours
*/
+@Serializable
data class ReportSummary (
- val deviceId: kotlin.Int? = null,
- val deviceName: kotlin.String? = null,
+ val deviceId: Int? = null,
+ val deviceName: String? = null,
/* in knots */
- val maxSpeed: java.math.BigDecimal? = null,
+ val maxSpeed: Double? = null,
/* in knots */
- val averageSpeed: java.math.BigDecimal? = null,
+ val averageSpeed: Double? = null,
/* in meters */
- val distance: java.math.BigDecimal? = null,
+ val distance: Double? = null,
/* in liters */
- val spentFuel: java.math.BigDecimal? = null,
- val engineHours: kotlin.Int? = null
+ val spentFuel: Double? = null,
+ val engineHours: Double? = null
) {
} \ No newline at end of file