seminar2/app/models/seminar_item_content.rb

16 lines
249 B
Ruby
Raw Permalink Normal View History

2016-06-29 06:57:45 +00:00
# encoding: utf-8
class SeminarItemContent
include Mongoid::Document
include Mongoid::Timestamps
field :content, localize: true
field :create_user_id
field :update_user_id
belongs_to :seminar_item
belongs_to :seminar_main
end