# frozen_string_literal: true module Operations # {Expense} is a income statement operation class Expense < Operation end end # == Schema Information # Schema version: 20201125134745 # # Table name: expenses # # id :integer not null, primary key # code :integer not null # currency_id :string(255) not null # reference_type :string(255) # reference_id :integer # debit :decimal(32, 16) default(0.0), not null # credit :decimal(32, 16) default(0.0), not null # created_at :datetime not null # updated_at :datetime not null # # Indexes # # index_expenses_on_currency_id (currency_id) # index_expenses_on_reference_type_and_reference_id (reference_type,reference_id) #