seminar2/app/models/seminar_item_content.rb

16 lines
249 B
Ruby

# 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