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
|
2024-12-21 09:26:27 +00:00
|
|
|
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
|