package com.example.projectbnspumkm.data.model

import androidx.room.Entity
import androidx.room.PrimaryKey
import com.google.gson.annotations.SerializedName

@Entity(tableName = "cart_items")
data class CartItem(
    @PrimaryKey(autoGenerate = true)
    val localId: Int = 0,
    @SerializedName("id")
    val id: Int? = null,
    @SerializedName("product_id")
    val productId: Int,
    @SerializedName("quantity")
    val quantity: Int,
    val productName: String,
    val productPrice: Double
)
