otvorenesudy/otvorenesudy-api

View on GitHub
app/models/hearing/subject.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# == Schema Information
#
# Table name: hearing_subjects
#
#  id         :integer          not null, primary key
#  value      :string(255)      not null
#  created_at :datetime         not null
#  updated_at :datetime         not null
#
class Hearing::Subject < OpenCourts::ApplicationRecord
  has_many :hearings, foreign_key: :hearing_subject_id
end