ask/app/models/ask_category_setting_index.rb

7 lines
151 B
Ruby

class AskCategorySettingIndex
include Mongoid::Document
include Mongoid::Timestamps
field :key,type: Integer,default: 0
field :category_id
end