Attempt at mermaid for model description

This commit is contained in:
Claude Brisson
2023-05-05 14:57:35 +02:00
parent 4f91e85564
commit 8e5600cc5b

50
model/model.md Normal file
View File

@@ -0,0 +1,50 @@
# PairGoth model
## Entity Relationship Diagram
```mermaid
erDiagram
%% entities
Tournament {
name
shortName
startDate
endDate
location
isOnline
}
Round {
number
}
Game {
black
white
result
}
Player {
lastname
firstname
country
club
}
Ladder {
name
lastUpdated
}
%% relationships
Tournament ||--|{ Round
Round ||--|{ Game
Game |}--|| Player : black
Game |}--|| Player : white
Player }o--o{ Ladder : rating
```