Rework
Update 'Documents/proto/messaging_extension/ERD.md' Makefile for image
This commit is contained in:
parent
9c1103ab59
commit
d4e3ded3da
@ -3,6 +3,7 @@
|
|||||||
## Messaging extension
|
## Messaging extension
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
|
%%{init: { "er": {"fontSize": 25, "stroke": "black" }}}%%
|
||||||
erDiagram
|
erDiagram
|
||||||
|
|
||||||
%% General
|
%% General
|
||||||
@ -29,6 +30,7 @@ Messages o|--o{ Messages: "answers"
|
|||||||
Forums{
|
Forums{
|
||||||
Integer id PK
|
Integer id PK
|
||||||
String name
|
String name
|
||||||
|
Integer course FK "Course"
|
||||||
}
|
}
|
||||||
|
|
||||||
Topics{
|
Topics{
|
||||||
@ -46,7 +48,7 @@ Answers{
|
|||||||
|
|
||||||
Polls{
|
Polls{
|
||||||
Integer id PK
|
Integer id PK
|
||||||
enum PollType "ALLOW_NEW_OPTIONS ALLOW_MULTIPLE CHOICE"
|
enum PollType
|
||||||
}
|
}
|
||||||
Options{
|
Options{
|
||||||
Integer id PK
|
Integer id PK
|
||||||
@ -55,7 +57,6 @@ Options{
|
|||||||
|
|
||||||
Forums ||--o{ Users: "Registered"
|
Forums ||--o{ Users: "Registered"
|
||||||
Forums ||--|| Teacher: "Owner"
|
Forums ||--|| Teacher: "Owner"
|
||||||
Forums ||--|| Course: ""
|
|
||||||
Forums ||--o{ Topics: ""
|
Forums ||--o{ Topics: ""
|
||||||
Forums ||--o{ Polls: ""
|
Forums ||--o{ Polls: ""
|
||||||
|
|
||||||
@ -71,14 +72,14 @@ Votes }o--|| Users: "Voter"
|
|||||||
|
|
||||||
|
|
||||||
%% Appointments
|
%% Appointments
|
||||||
Teachers
|
Teacher
|
||||||
Appointments{
|
Appointments{
|
||||||
Integer id PK
|
Integer id PK
|
||||||
|
Integer teacher FK "Teacher"
|
||||||
TIME sent_time
|
TIME sent_time
|
||||||
enum Status
|
enum Status
|
||||||
}
|
}
|
||||||
|
|
||||||
Appointments ||--|| Teachers: ""
|
|
||||||
Appointments ||--|| Users: ""
|
Appointments ||--|| Users: ""
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -13,6 +13,7 @@ use_case_messagerie.tex: use_case_messagerie.uml
|
|||||||
|
|
||||||
image: use_case_messagerie.uml interaction_diagram.uml
|
image: use_case_messagerie.uml interaction_diagram.uml
|
||||||
plantuml $^
|
plantuml $^
|
||||||
|
mmdc -i ERD.md -o ERD.png
|
||||||
|
|
||||||
extension_messagerie.bbl: extension_messagerie.bcf
|
extension_messagerie.bbl: extension_messagerie.bcf
|
||||||
biber extension_messagerie
|
biber extension_messagerie
|
||||||
|
Loading…
Reference in New Issue
Block a user