untitled

Pasted Nov 9, 2026, 7:34 PM1 file46 lines

Scan to open on your phone

Point a camera at the QR code - it opens this exact paste, no app needed.

https://codepastes.com/zzgs8wvpxw1grm99
untitled
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