```ruby
class BankAccount < Account
  belongs_to :bank
end
```

Add access restrictions to BankAccount.
user
```ruby
class BankAccount < Account
  # Access restrictions
  attr_accessible :pc_id, :esr_id, :bank_id

  belongs_to :bank
end
```
assistant