package com.gestoreasy.database.entities

import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "products")
data class Product(
    @PrimaryKey
    val id: Long,
    val codigo: String,
    val nome: String,
    val descricao: String?,
    val preco: Double,
    val estoque: Double,
    val unidade: String?,
    val categoria: String?,
    val imagem_url: String?,
    val ativo: Boolean = true,
    val last_sync: Long = System.currentTimeMillis(),
    val needs_sync: Boolean = false
)

