venue_management/app/models/seminar_submission_field_se...

11 lines
286 B
Ruby

class SeminarSubmissionFieldSet
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