# frozen_string_literal: true # Order # public_id: string class Order < ApplicationRecord belongs_to :user_account has_one :payment has_many :product_orders has_many :products, through: :product_orders end