seminar2_old/app/models/seminar_signup_field_set.rb

12 lines
283 B
Ruby

class SeminarSignupFieldSet
include Mongoid::Document
include Mongoid::Timestamps
field :field_name, type: String
field :placeholder
field :name
field :disabled, type: Boolean, default: false
field :hidden, type: Boolean, default: false
belongs_to :seminar_main
end