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/payment.rb | |
parent | bb9554c298a5edc6c0ff90ec7497adff299891e0 (diff) |
Añadidos modelos para órdenes
Diffstat (limited to 'app/models/payment.rb')
-rw-r--r-- | app/models/payment.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/models/payment.rb b/app/models/payment.rb new file mode 100644 index 0000000..5d5e862 --- /dev/null +++ b/app/models/payment.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +# Payment +# total: float +class Payment < ApplicationRecord + has_one :order + belongs_to :card +end |