venue_management/app/models/venue_management_submission...

11 lines
303 B
Ruby

class VenueManagementSubmissionFieldSet
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 :venue_management_main
end