otvorenesudy/otvorenesudy-api

View on GitHub
app/models/decree/form.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# == Schema Information
#
# Table name: decree_forms
#
#  id         :integer          not null, primary key
#  value      :string(255)      not null
#  code       :string(255)      not null
#  created_at :datetime         not null
#  updated_at :datetime         not null
#
class Decree::Form < ActiveRecord::Base
  include OpenCourts::Model

  has_many :decrees, foreign_key: :decree_form_id
end