This repository has been archived on 2026-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
RepApp/docs/dev/objects.md

42 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

2023-08-15 20:31:04 +00:00
# Objects
2023-08-15 20:39:03 +00:00
A **device** is an object owned by a **guest** which has some issue. To get support for fixing the issue, a **guest** provides the information about the **device** and requests a repair **appointment** during a **repair_cafe**.
2023-08-15 20:31:04 +00:00
2023-08-15 20:39:03 +00:00
![Objects](uml/objects_other.png)
2023-08-15 20:31:04 +00:00
2023-08-15 20:39:03 +00:00
A **repair_cafe** happens at a specific date and location. It's an event which consists of **appointments** of **repairers** with **guests** to fix a **device**.
2023-08-15 20:31:04 +00:00
2023-08-15 20:39:03 +00:00
To organize a **repair_cafe**, a **organizer** needs to know which **repairer** will attend a **repair_cafe**, to schedule repair **appointments**.
2023-08-15 20:31:04 +00:00
![Appointment](uml/objects_appointment.png)
2023-08-15 20:39:03 +00:00
In case of ambiguities, a **organizer** or a **repairer** can raise a **consultation** request. This **consultation** request is sent to the **guest** to get the needed information. In addition, a **organizer** or a **repairer** can add an **comment** to a **device**.
2023-08-15 20:31:04 +00:00
![Consultation](uml/objects_consultation.png)
2023-08-15 20:39:03 +00:00
![Comment](uml/objects_comment.png)
2023-08-15 20:31:04 +00:00
## Repair_Cafe
2023-08-15 20:39:03 +00:00
A **repair_cafe** is a event happening at a specific date at a specific location. During a **repair_cafe** **appointments** of **guests** with **repairers** happens to fix broken *devices*.
2023-08-15 20:31:04 +00:00
2023-08-15 20:42:38 +00:00
### Fields
- *location*: Char (200) -- location of the event
- *address*: Char (200) -- address where the event happens
- *event_date*: Date -- date when the event happens
- *repairer*: many to many -- will attend the event
2023-08-15 20:31:04 +00:00
## Device
## Appointment
## Guest
## Repairer
## Organizer
## Consultation
## Comment