Add model for BankGateway
This commit is contained in:
parent
7e60ce6ce2
commit
87fe9ccdb1
6 changed files with 45 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
class BankAccount < ApplicationRecord
|
||||
has_many :bank_transactions, dependent: :destroy
|
||||
belongs_to :bank_gateway, optional: true
|
||||
|
||||
normalize_attributes :name, :iban, :description
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue