announcement-test/app/models/anns_cache.rb

7 lines
172 B
Ruby

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