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

8 lines
300 B
Ruby

# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class DirectDebitDetail < ApplicationRecord
attr_accessible :iban, :account_holder_name, :bic, :supporter_id, :holder
has_many :donations
has_many :charges
belongs_to :holder, class_name: Supporter
end