summaryrefslogtreecommitdiff
path: root/app/models/product_cart.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/product_cart.rb')
-rw-r--r--app/models/product_cart.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/models/product_cart.rb b/app/models/product_cart.rb
new file mode 100644
index 0000000..10d4a4c
--- /dev/null
+++ b/app/models/product_cart.rb
@@ -0,0 +1,8 @@
+# frozen_string_literal: true
+
+# ProductCart
+# quantity: integer
+class ProductCart < ApplicationRecord
+ belongs_to :cart
+ belongs_to :product
+end