announcement-test/app/models/anns_cache.rb

6 lines
158 B
Ruby

class AnnsCache
include Mongoid::Document
field :parent_id
field :filter_result,type: Array,default: []
field :locale,type: String,default: 'zh_tw'
end