summaryrefslogtreecommitdiff
path: root/app/models/payment.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/payment.rb')
-rw-r--r--app/models/payment.rb8
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