Files
pairgoth/model/model.md
2023-05-05 14:57:35 +02:00

522 B

PairGoth model

Entity Relationship Diagram

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