event_news/app/models/event_news_cache.rb

7 lines
184 B
Ruby

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