diff options
author | HombreLaser <sebastian-440@live.com> | 2023-04-11 20:28:11 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-04-11 20:28:11 -0600 |
commit | b9e6c425a6142b2b78311cfc7b51aa0de7481440 (patch) | |
tree | 9350e616a04a7ddbc148ed86ee925fb589dd7665 /app/models/product_order.rb | |
parent | bb9554c298a5edc6c0ff90ec7497adff299891e0 (diff) |
Añadidos modelos para órdenes
Diffstat (limited to 'app/models/product_order.rb')
-rw-r--r-- | app/models/product_order.rb | 8 |
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 |