property_hire/app/models/property_field_set.rb

11 lines
273 B
Ruby

class PropertyFieldSet
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 :property
end