12 lines
308 B
Ruby
12 lines
308 B
Ruby
|
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
|
||
|
|
||
|
belongs_to :questionnaire_survey
|
||
|
end
|