summaryrefslogtreecommitdiff
path: root/app/models/product_order.rb
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-04-11 20:28:11 -0600
committerHombreLaser <sebastian-440@live.com>2023-04-11 20:28:11 -0600
commitb9e6c425a6142b2b78311cfc7b51aa0de7481440 (patch)
tree9350e616a04a7ddbc148ed86ee925fb589dd7665 /app/models/product_order.rb
parentbb9554c298a5edc6c0ff90ec7497adff299891e0 (diff)
Añadidos modelos para órdenes
Diffstat (limited to 'app/models/product_order.rb')
-rw-r--r--app/models/product_order.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/models/product_order.rb b/app/models/product_order.rb
new file mode 100644
index 0000000..004f8fc
--- /dev/null
+++ b/app/models/product_order.rb
@@ -0,0 +1,8 @@
+# frozen_string_literal: true
+
+# ProductOrder
+# quantity: integer
+class ProductOrder < ApplicationRecord
+ belongs_to :order
+ belongs_to :product
+end