Files
pairgoth/model/model.md
Claude Brisson 796744a9c7 Fix model
2023-05-06 16:13:08 +02:00

50 lines
624 B
Markdown

# PairGoth model
## Entity Relationship Diagram
```mermaid
erDiagram
%% entities
Tournament {
string name
string shortName
date startDate
date endDate
string country
string location
boolean isOnline
}
Round {
int number
}
Game {
string result
}
Player {
string lastname
string firstname
string country
string club
}
Ladder {
string name
date lastUpdated
}
%% relationships
Tournament ||--|{ Round: ""
Round ||--|{ Game: ""
Game ||--|| Player: "black"
Game ||--|| Player: "white"
Player }o--o{ Ladder: "rating"
```