# 课堂中随机试卷的赋分规则配置
class ExerciseScoreSetting < ApplicationRecord
  validates_presence_of :item_type, :score

  belongs_to :exercise

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