property_hire/app/models/property_day_setting.rb

12 lines
288 B
Ruby
Raw Permalink Normal View History

2021-09-06 16:45:14 +00:00
class PropertyDaySetting
include Mongoid::Document
include Mongoid::Timestamps
field :enable, type: Boolean, default: true
2021-09-06 16:45:14 +00:00
field :key
field :day
field :title
field :start_time
field :end_time
field :reservation_limit, type: Integer, default: 1
belongs_to :property
end