package com.example.tabbuy.data.local.entity

import android.os.Parcelable
import androidx.room.Entity
import androidx.room.PrimaryKey
import kotlinx.parcelize.Parcelize

@Parcelize
@Entity(tableName = "produk")
data class ProdukEntity(
    @PrimaryKey(autoGenerate = true)
    val id: Int = 0,
    val nama: String,
    val harga: Int,
    val deskripsi: String,
    val gambar: String = "",
    val rating: Double = 4.5,
    val reviewCount: Int = 0
) : Parcelable
