Updated diagram
This commit is contained in:
parent
185fb1d59c
commit
f36f03f7c7
|
@ -3,7 +3,6 @@
|
||||||
' Describes database fields and object methods required
|
' Describes database fields and object methods required
|
||||||
|
|
||||||
title Tournament System - Group 1
|
title Tournament System - Group 1
|
||||||
skinparam Linetype ortho
|
|
||||||
|
|
||||||
class User {
|
class User {
|
||||||
*user_id: Integer
|
*user_id: Integer
|
||||||
|
@ -39,9 +38,10 @@ class Tournament {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Team "2..*" --- "1..1" Tournament : "Plays in"
|
User "1..*" -- "0..*" Tournament : "Manages"
|
||||||
Team "2..2" --- "1..*" Match : "Competes in"
|
User "1..*" -- "0..*" Team : "Manages"
|
||||||
|
Team "2..*" -- "1..1" Tournament : "Plays in"
|
||||||
|
Team "2..2" -- "1..*" Match : "Competes in"
|
||||||
|
Tournament "1" -- "3..*" Match : "Contains"
|
||||||
|
|
||||||
left to right direction
|
@enduml
|
||||||
Tournament "1" --- "3..*" Match : contains
|
|
||||||
@enduml
|
|
|
@ -12,15 +12,9 @@ class Team {
|
||||||
*team_id
|
*team_id
|
||||||
Name
|
Name
|
||||||
Tournaments
|
Tournaments
|
||||||
Players
|
|
||||||
Matches
|
Matches
|
||||||
}
|
}
|
||||||
|
|
||||||
class Player {
|
|
||||||
*player_id
|
|
||||||
Name
|
|
||||||
}
|
|
||||||
|
|
||||||
class Tournament {
|
class Tournament {
|
||||||
*tournament_id
|
*tournament_id
|
||||||
Name
|
Name
|
||||||
|
@ -42,12 +36,12 @@ class User {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
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"
|
|
||||||
Team "2..2" -- "1..*" Match : "Competes in"
|
Team "2..2" -- "1..*" Match : "Competes in"
|
||||||
|
|
||||||
Administrator "1..*" -- "0..*" Tournament : "Manages"
|
Administrator "1..*" -- "0..*" Tournament : "Manages"
|
||||||
Administrator "1..*" -- "0..*" Team : "Manages"
|
Administrator "1..*" -- "0..*" Team : "Manages"
|
||||||
User "0..*" --> "0..*" Tournament : "View overview"
|
User "0..*" --> "0..*" Tournament : "View overview"
|
||||||
|
|
||||||
@enduml
|
@enduml
|
Loading…
Reference in New Issue