From 78f225ffa9259606bb3c404e62b55eb921e19d53 Mon Sep 17 00:00:00 2001 From: Sergio De la torre Date: Tue, 18 Jun 2024 12:35:07 +0200 Subject: [PATCH] feat isScanned #refs 7276 --- .../view/feature/delivery/model/InfoCompany.kt | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/es/verdnatura/presentation/view/feature/delivery/model/InfoCompany.kt b/app/src/main/java/es/verdnatura/presentation/view/feature/delivery/model/InfoCompany.kt index 9cb523c2..bd211dd6 100644 --- a/app/src/main/java/es/verdnatura/presentation/view/feature/delivery/model/InfoCompany.kt +++ b/app/src/main/java/es/verdnatura/presentation/view/feature/delivery/model/InfoCompany.kt @@ -31,7 +31,8 @@ class Expeditions( class ExpeditionSalix( val expeditionFk: Int, - val stateCode: String? + val stateCode: String?, + val isScanned: Int? = 0 ) class ExpeditionInfoList( @@ -49,6 +50,7 @@ data class ExpeditionInfoLog( return field.isoToString() } } + class RouteDeliveryList( var list: List = listOf() ) @@ -81,9 +83,9 @@ class RouteDelivery( ) { var created: String = "" - get(){ - return field.isoToString(returnOnlyDate = true) - } + get() { + return field.isoToString(returnOnlyDate = true) + } } @@ -108,6 +110,7 @@ class ExpeditionInfoLoadUnload( var code: String?, var nickname: String, var postalCode: String, + var isScanned: Int? = null ) : Serializable @Entity(tableName = "expeditionPending") @@ -121,7 +124,8 @@ class ExpeditionInfoPending( var street: String, var code: String?, var nickname: String, - var postalCode: String + var postalCode: String, + var isScanned: Int? = 0 ) : Serializable