seminar2/custom_announcement/app/models/custom_anns_cache.rb

6 lines
140 B
Ruby
Raw Normal View History

class CustomAnnsCache
include Mongoid::Document
field :parent_id
field :filter_result
field :locale,type: String,default: 'zh_tw'
end