@Entity
public class CartItem
extends Object
Represents an item in a shopping cart.
This entity links a specific product to a cart, along with its price.
It establishes relationships between the Product and Cart entities.
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CartItem
public CartItem()