seminar2/app/models/seminar_email_set.rb

11 lines
227 B
Ruby
Raw Normal View History

2020-01-12 06:39:32 +00:00
class SeminarEmailSet
include Mongoid::Document
include Mongoid::Timestamps
field :field_name, type: String
field :title
field :content
field :disabled, type: Boolean, default: false
belongs_to :seminar_main
end