1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00

updated diagrams

This commit is contained in:
Sylvain 2022-07-04 10:48:42 +02:00
parent f81cbc72fa
commit eb1c54d8f3
3 changed files with 28964 additions and 23730 deletions

View File

@ -1,9 +1,12 @@
# frozen_string_literal: true
# Time range, slicing an Availability.
# Its duration is defined by globally by Setting.get('slot_duration') but can be overridden per availability
# During a slot a Reservation is possible
# Only reserved slots are persisted in DB, others are instantiated on the fly
# A Time range.
# Slots have two functions:
# - slicing an Availability
# > Slots duration are defined globally by Setting.get('slot_duration') but can be overridden per availability.
# > These slots are not persisted in database and instantiated on the fly, if needed.
# - hold detailed data about a Reservation.
# > Persisted slots (in DB) represents booked slots and stores data about a time range that have been reserved.
class Slot < ApplicationRecord
include NotifyWith::NotificationAttachedObject

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 3.1 MiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 2.5 MiB