survey/app/models/survey_section.rb

12 lines
308 B
Ruby
Raw Normal View History

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
belongs_to :questionnaire_survey
end