Update diagrams after superviser feedback
This commit is contained in:
parent
2e3be0435e
commit
597701aaa5
|
@ -7,12 +7,10 @@ class Match {
|
||||||
*match_id: Integer
|
*match_id: Integer
|
||||||
tournament_id: Integer
|
tournament_id: Integer
|
||||||
team_ids: Integer[]
|
team_ids: Integer[]
|
||||||
scores: Integer[]
|
|
||||||
winner_id: Integer
|
winner_id: Integer
|
||||||
tier: Integer
|
tier: Integer
|
||||||
|
|
||||||
Match constructor(tournament_id: Integer, team_ids: Integer[])
|
Match constructor(tournament_id: Integer, team_ids: Integer[])
|
||||||
void setScore(team_id: Integer, score: Integer)
|
|
||||||
void setWinner(winner_id: Integer)
|
void setWinner(winner_id: Integer)
|
||||||
}
|
}
|
||||||
class Team {
|
class Team {
|
||||||
|
|
|
@ -5,9 +5,9 @@ class Match {
|
||||||
*match_id: Integer
|
*match_id: Integer
|
||||||
Tournament
|
Tournament
|
||||||
Teams
|
Teams
|
||||||
Scores
|
|
||||||
Winner
|
Winner
|
||||||
}
|
}
|
||||||
|
|
||||||
class Team {
|
class Team {
|
||||||
*team_id
|
*team_id
|
||||||
Name
|
Name
|
||||||
|
@ -15,6 +15,7 @@ class Team {
|
||||||
Players
|
Players
|
||||||
Matches
|
Matches
|
||||||
}
|
}
|
||||||
|
|
||||||
class Player {
|
class Player {
|
||||||
*player_id
|
*player_id
|
||||||
Name
|
Name
|
||||||
|
@ -37,10 +38,12 @@ class Administrator {
|
||||||
Manager-status
|
Manager-status
|
||||||
}
|
}
|
||||||
|
|
||||||
Team "2..*" -> "1..*" Tournament : "Plays in"
|
Team "2..*" - "1..*" Tournament : "Plays in"
|
||||||
Tournament "1" --> "1..*" Match : contains
|
Tournament "1" -- "1..*" Match : contains
|
||||||
Player "1..*" --> "1..1" Team : "Belongs to"
|
Player "1..*" -- "1..1" Team : "Belongs to"
|
||||||
Team "2..2" --> "1..*" Match : "Competes in"
|
Team "2..2" -- "1..*" Match : "Competes in"
|
||||||
|
|
||||||
|
Administrator "1..*" -- "0..*" Tournament : "Manages"
|
||||||
|
Administrator "1..*" -- "0..*" Team : "Manages"
|
||||||
|
|
||||||
@enduml
|
@enduml
|
Loading…
Reference in New Issue