seminar/app/models/seminar_signup_field_set.rb

13 lines
302 B
Ruby
Raw Normal View History

class SeminarSignupFieldSet
include Mongoid::Document
include Mongoid::Timestamps
field :field_name, type: String
field :placeholder
field :name
2023-10-04 16:38:24 +00:00
field :validator
field :disabled, type: Boolean, default: false
field :hidden, type: Boolean, default: false
belongs_to :seminar_main
end