summaryrefslogtreecommitdiff
path: root/app/models/cart.rb
blob: 4bccd67054310f47c9eba2b7c9434bfbb00dbd05 (plain)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

# Cart
class Cart < ApplicationRecord
  has_one :user_account, dependent: :destroy
  has_many :product_carts
  has_many :products, through: :product_carts
end