|
|
@ -11,6 +11,7 @@ class EcCourseEvaluation < ApplicationRecord
|
|
|
|
enum score_type: { detail: 1, average: 2 }, _suffix: :score_type # :detail_score_type?, :average_score_type?
|
|
|
|
enum score_type: { detail: 1, average: 2 }, _suffix: :score_type # :detail_score_type?, :average_score_type?
|
|
|
|
|
|
|
|
|
|
|
|
accepts_nested_attributes_for :ec_course_evaluation_subitems, allow_destroy: true
|
|
|
|
accepts_nested_attributes_for :ec_course_evaluation_subitems, allow_destroy: true
|
|
|
|
|
|
|
|
alias_attribute :evaluation_count, :evluation_count
|
|
|
|
|
|
|
|
|
|
|
|
def imported?
|
|
|
|
def imported?
|
|
|
|
import_status?
|
|
|
|
import_status?
|
|
|
|