seminar2_old/app/models/seminar_review.rb

13 lines
304 B
Ruby
Raw Normal View History

2019-10-04 16:11:39 +00:00
# encoding: utf-8
require "orbit_form_helper"
class SeminarReview
include Mongoid::Document
include Mongoid::Timestamps
field :review_start_date, :type => Date, :default => Time.now
field :review_end_date, :type => Date, :default => Time.now
field :reviewer_id
belongs_to :seminar_main
end