class ExerciseBankRandomSetting < ApplicationRecord
  validates_presence_of :difficulty, :quanlity, :item_type, :sub_discipline_id

  belongs_to :exercise_bank
  belongs_to :sub_discipline

  enum item_type: { SINGLE: 0, MULTIPLE: 1, JUDGMENT: 2, COMPLETION: 3, SUBJECTIVE: 4, PRACTICAL: 5, PROGRAM: 6 }
end
