Scan to open on your phone
Point a camera at the QR code - it opens this exact paste, no app needed.
https://codepastes.com/zzgs8wvpxw1grm99untitledPlain Text
package com.negocio.desinfectantes.data
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "inventario")
data class InventarioEntity(
@PrimaryKey
val id: String,
val presentacionId: String,
val sede: String,
val cantidadDisponible: Int = 0,
val cantidadReservada: Int = 0,
val fechaActualizacion: Long = System.currentTimeMillis()
)
package com.negocio.desinfectantes.data
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "lotes_inventario")
data class LoteInventarioEntity(
@PrimaryKey
val id: String,
val loteId: String,
val presentacionId: String,
val sede: String,
val cantidadDisponible: Int = 0,
val cantidadReservada: Int = 0
)
770 chars · codepastes.com