1
0
forked from PGL/Clyde
Clyde/Documents/proto/messaging_extension
Debucquoy Anthony 4f1a44549b ERB msg done (#14)
# Entity relational diagram

## Messaging extension

```mermaid
%%{init: { "er": {"fontSize": 25}}}%%
erDiagram

%% General
Users

%% Messages
Discussions{
    Integer id PK
    String name
}

Messages{
    Integer id PK
    Integer response FK "Messages"
    String content
}

Discussions ||--o{ Messages: ""
Discussions ||--o{ Users: ""

Messages o|--o{ Messages: "answers"

%% Forums
Forums{
    Integer id PK
    String name
}

Topics{
    Integer id PK
    String subject
    String content
    Boolean locked
}
Answers{
    Integer id PK
    String content
    Boolean anonymous
    TimeStamp creation_time
}

Polls{
    Integer id PK
    enum PollType
}
Options{
    Integer id PK
    String name
}

Forums ||--o{ Users: "Registered"
Forums ||--|| Teacher: "Owner"
Forums ||--|| Course: ""
Forums ||--o{ Topics: ""
Forums ||--o{ Polls: ""

Topics ||--|| Teacher: "Author"
Topics ||--|| Users: "Author"
Topics ||--o{ Answers: ""

Polls ||--o{ Options: ""

Options ||--o{ Votes : ""

Votes }o--|| Users: "Voter"

%% Appointments
Teachers
Appointments{
    Integer id PK
    TIME sent_time
    enum Status
}

Appointments ||--|| Teachers: ""
Appointments ||--|| Users: ""

```

Debucquoy Anthony

Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com>
Reviewed-on: PGL/Clyde#14
Reviewed-by: Maxime <231026@umons.ac.be>
2023-12-15 14:36:10 +01:00
..
ERD.md ERB msg done (#14) 2023-12-15 14:36:10 +01:00
extension_messagerie.tex Extension Messagerie (#11) 2023-12-14 15:15:39 +01:00
interaction_diagram.uml Extension Messagerie (#11) 2023-12-14 15:15:39 +01:00
Makefile ERB msg done (#14) 2023-12-15 14:36:10 +01:00
README.md First use_case proto 2023-11-21 16:18:15 +01:00
references.bib First use_case proto 2023-11-21 16:18:15 +01:00
use_case_messagerie.uml Extension Messagerie (#11) 2023-12-14 15:15:39 +01:00

Proto messaging extension

This is a prototype document for the use case.

Build

these utilies should be installed on your machine.

  • pdflatex
  • plantuml
  • bibtex

To view the document you should run :

$ make run