seminar/app/models/seminar_email_set.rb

12 lines
283 B
Ruby

class SeminarEmailSet
include Mongoid::Document
include Mongoid::Timestamps
field :field_name, type: String
field :title
field :content
field :disabled, type: Boolean, default: false
field :is_confirmation, type: Boolean, default: false
belongs_to :seminar_main
end