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:
parent
f81cbc72fa
commit
eb1c54d8f3
@ -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
|
||||
|
||||
|
27790
doc/class-diagram.svg
27790
doc/class-diagram.svg
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 |
24893
doc/database.svg
24893
doc/database.svg
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 |
Loading…
Reference in New Issue
Block a user