otvorenesudy/otvorenesudy-api

View on GitHub
app/models/court/expense.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# == Schema Information
#
# Table name: court_expenses
#
#  id         :integer          not null, primary key
#  uri        :string(2048)     not null
#  source_id  :integer          not null
#  court_id   :integer          not null
#  year       :integer          not null
#  value      :integer          not null
#  created_at :datetime         not null
#  updated_at :datetime         not null
#
class Court::Expense < ActiveRecord::Base
  include OpenCourts::Model

  belongs_to :source
  belongs_to :court
end