event_ann/app/models/bulletin_feed_event.rb

9 lines
205 B
Ruby

class BulletinFeedEvent
include Mongoid::Document
include Mongoid::Timestamps
include Slug
field :title, as: :slug_title, type: String, localize: true
field :tag_ids, type: Array, default: []
end