class Account < ActiveRecord::Base
  self.table_name = "ZACCOUNT"
  self.primary_key = :Z_PK
  alias_attribute :id, :Z_PK
  alias_attribute :name, :ZNAME
  has_many :transactions, class_name: "Transaction", inverse_of: :account
end
