Move model in specs
This commit is contained in:
@@ -1,50 +0,0 @@
|
||||
# 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 }o--|{ Player: "participate"
|
||||
Round ||--|{ Game: ""
|
||||
Game ||--|| Player: "black"
|
||||
Game ||--|| Player: "white"
|
||||
Player }o--o{ Ladder: "rating"
|
||||
|
||||
```
|
||||
|
Reference in New Issue
Block a user