Application_Form/app/models/application_form_email_set.rb

11 lines
244 B
Ruby

class ApplicationFormEmailSet
include Mongoid::Document
include Mongoid::Timestamps
field :field_name, type: String
field :title
field :content
field :disabled, type: Boolean, default: false
belongs_to :application_form_main
end