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
|
|
|
|
Winner
|
2022-02-23 12:12:43 +01:00
|
|
|
}
|
2022-03-16 10:14:55 +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-03-16 10:14:55 +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-16 10:14:55 +01:00
|
|
|
Team "2..*" - "1..*" Tournament : "Plays in"
|
|
|
|
Tournament "1" -- "1..*" Match : contains
|
|
|
|
Player "1..*" -- "1..1" Team : "Belongs to"
|
|
|
|
Team "2..2" -- "1..*" Match : "Competes in"
|
2022-02-23 12:12:43 +01:00
|
|
|
|
2022-03-16 10:14:55 +01:00
|
|
|
Administrator "1..*" -- "0..*" Tournament : "Manages"
|
|
|
|
Administrator "1..*" -- "0..*" Team : "Manages"
|
2022-02-23 12:12:43 +01:00
|
|
|
|
|
|
|
@enduml
|