olympiamanagement/app/models/class_setting_fields.rb

9 lines
282 B
Ruby
Raw Normal View History

class ClassSettingFields
include Mongoid::Document
include Mongoid::Timestamps
# encoding: utf-8
include OrbitTag::Taggable
include OrbitCategory::Categorizable
field :class_number_range , type: Array , default: []
field :enrollment_available , type: Fixnum , default: 0
end