2018-01-03 08:36:00 +00:00
|
|
|
class SurveySection
|
|
|
|
include Mongoid::Document
|
|
|
|
include Mongoid::Timestamps
|
|
|
|
|
|
|
|
field :section_title, localize: true
|
|
|
|
field :section_description, localize: true
|
|
|
|
field :order, type: Integer
|
|
|
|
field :start_question, type: Integer
|
|
|
|
field :end_question, type: Integer
|
2021-07-08 13:31:27 +00:00
|
|
|
field :qnum_mode, type: Integer, default: 0
|
2018-01-03 08:36:00 +00:00
|
|
|
|
|
|
|
belongs_to :questionnaire_survey
|
|
|
|
end
|