property_hire/app/models/hire_email_set.rb

11 lines
220 B
Ruby
Raw Permalink Normal View History

2020-03-23 17:26:52 +00:00
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