announcement-test/app/models/anns_cache.rb

7 lines
194 B
Ruby

class AnnsCache
include Mongoid::Document
field :parent_id
field :filter_result,type: Array,default: []
field :tag_ids,type: Array,default: []
field :cat_ids,type: Array,default: []
end