property_hire/app/models/hire_email_set.rb

13 lines
326 B
Ruby
Raw 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 :reminder_value, type: Integer, default: 0
field :reminder_unit, type: String, default: 'month'
2020-03-23 17:26:52 +00:00
field :disabled, type: Boolean, default: false
belongs_to :property
end