property_hire/app/models/property_field_set.rb

11 lines
273 B
Ruby
Raw Normal View History

2021-09-06 16:45:14 +00:00
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