refs #6921 feat:dropOffNote
This commit is contained in:
parent
daba43e915
commit
e5f5c60e87
|
@ -3,6 +3,7 @@ package es.verdnatura.presentation.view.feature.delivery.model
|
|||
import androidx.room.Entity
|
||||
import androidx.room.PrimaryKey
|
||||
import androidx.room.TypeConverters
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import es.verdnatura.db.MapTypeConverter
|
||||
import java.io.Serializable
|
||||
|
||||
|
@ -23,7 +24,9 @@ data class ClientTicketSalix(
|
|||
var city: String,
|
||||
var warehouseName: String?,
|
||||
var salePersonPhone: String?,
|
||||
var ticketObservation: String?,
|
||||
@SerializedName(value = "ticketObservation", alternate = ["observationDelivery"])
|
||||
var observationDelivery: String?,
|
||||
var observationDropOff: String?,
|
||||
var clientPhone: String?,
|
||||
var clientMobile: String?,
|
||||
var addressPhone: String?,
|
||||
|
@ -51,9 +54,17 @@ data class Ticket(
|
|||
var cmrFk: Int? = null
|
||||
) : Serializable
|
||||
|
||||
data class TicketObservation
|
||||
(
|
||||
var ticketFk: Long,
|
||||
var description: String,
|
||||
var observationTypeFk: Int
|
||||
)
|
||||
|
||||
@Entity(tableName = "signedPending")
|
||||
data class SignedTickets(
|
||||
@TypeConverters(MapTypeConverter::class) val queryMapList: MutableMap<String?, String?>,
|
||||
@PrimaryKey
|
||||
val fileName: String
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue