From 41cf5b53605e8b23387e5db07882bf2cdefb6e8c Mon Sep 17 00:00:00 2001 From: Daniel Silhavy Date: Wed, 8 Nov 2023 07:57:28 +0100 Subject: [PATCH] Ignore mimeType and finished flags in ConsumptionReportingUnit as they should not be included in the final consumption report. --- .../consumptionReporting/ConsumptionReport.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/fivegmag/a5gmscommonlibrary/consumptionReporting/ConsumptionReport.kt b/app/src/main/java/com/fivegmag/a5gmscommonlibrary/consumptionReporting/ConsumptionReport.kt index 5ee7ee2..deb9678 100644 --- a/app/src/main/java/com/fivegmag/a5gmscommonlibrary/consumptionReporting/ConsumptionReport.kt +++ b/app/src/main/java/com/fivegmag/a5gmscommonlibrary/consumptionReporting/ConsumptionReport.kt @@ -32,9 +32,9 @@ data class ConsumptionReportingUnit( val startTime: String, var duration: Int, var locations: ArrayList? = ArrayList(), - //@JsonIgnore + @JsonIgnore var mimeType: String? = null, - //@JsonIgnore + @JsonIgnore var finished: Boolean = false ) : Parcelable