seminar/app/models/seminar_signup_field_set.rb

13 lines
302 B
Ruby

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