property_hire/app/models/hire_email_set.rb

11 lines
220 B
Ruby

class HireEmailSet
include Mongoid::Document
include Mongoid::Timestamps
field :field_name, type: String
field :title
field :content
field :disabled, type: Boolean, default: false
belongs_to :property
end