2022-02-23 12:12:43 +01:00
|
|
|
@startuml Tournament System
|
2022-03-02 10:26:23 +01:00
|
|
|
title Tournament System - Group 1
|
2022-02-23 12:12:43 +01:00
|
|
|
|
|
|
|
class Match {
|
2022-03-01 23:59:58 +01:00
|
|
|
*match_id: Integer
|
2022-03-02 10:26:23 +01:00
|
|
|
Tournament
|
|
|
|
Teams
|
|
|
|
Scores
|
|
|
|
Winner
|
2022-02-23 12:12:43 +01:00
|
|
|
}
|
2022-03-01 23:59:58 +01:00
|
|
|
class Team {
|
2022-03-02 10:26:23 +01:00
|
|
|
*team_id
|
|
|
|
Name
|
|
|
|
Tournaments
|
|
|
|
Players
|
|
|
|
Matches
|
2022-03-01 23:59:58 +01:00
|
|
|
}
|
2022-02-23 12:12:43 +01:00
|
|
|
class Player {
|
2022-03-02 10:26:23 +01:00
|
|
|
*player_id
|
|
|
|
Name
|
2022-02-23 12:12:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
class Tournament {
|
2022-03-02 10:26:23 +01:00
|
|
|
*tournament_id
|
|
|
|
Name
|
|
|
|
|
|
|
|
Banner Image
|
2022-03-06 16:20:40 +01:00
|
|
|
Start-time
|
|
|
|
End-time
|
2022-03-02 10:26:23 +01:00
|
|
|
Teams
|
2022-02-23 12:12:43 +01:00
|
|
|
}
|
|
|
|
|
2022-03-06 16:20:40 +01:00
|
|
|
class Administrator {
|
|
|
|
*admin_id
|
|
|
|
Name
|
|
|
|
Email
|
|
|
|
Manager-status
|
|
|
|
}
|
2022-02-23 12:12:43 +01:00
|
|
|
|
2022-03-02 10:26:23 +01:00
|
|
|
Team "2..*" -> "1..*" Tournament : "Plays in"
|
2022-03-06 16:20:40 +01:00
|
|
|
Tournament "1" --> "1..*" Match : contains
|
2022-03-02 10:26:23 +01:00
|
|
|
Player "1..*" --> "1..1" Team : "Belongs to"
|
|
|
|
Team "2..2" --> "1..*" Match : "Competes in"
|
2022-02-23 12:12:43 +01:00
|
|
|
|
|
|
|
|
|
|
|
@enduml
|