custom_announcement/app/models/custom_anns_cache.rb

6 lines
140 B
Ruby

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