class Admission::MedicalRevisionField < ApplicationRecord
  include Fieldable

  enum field: {
    family_physician: 0,
    family_dentist: 1,
    family_insurance: 2,
    preferred_hospital: 3
  }

  belongs_to :school

  scope :with_display, -> { where(display: true) }
  scope :by_required, -> { where(required: true) }
end
