houdini/app/models/offsite_payment.rb
2019-08-02 19:07:24 +02:00

10 lines
306 B
Ruby

# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class OffsitePayment < ApplicationRecord
attr_accessible :gross_amount, :kind, :date, :check_number
belongs_to :payment, dependent: :destroy
belongs_to :donation
belongs_to :nonprofit
belongs_to :supporter
end