event_news/app/models/event_news_cache.rb

6 lines
140 B
Ruby

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