property_hire/app/models/property_day_setting.rb

11 lines
242 B
Ruby

class PropertyDaySetting
include Mongoid::Document
include Mongoid::Timestamps
field :key
field :day
field :title
field :start_time
field :end_time
field :reservation_limit, type: Integer, default: 1
belongs_to :property
end