Documentation folder structure. Domain Model v1. Screenshots.

This commit is contained in:
Felix Albrigtsen 2022-02-23 12:12:43 +01:00
parent 1e4c293462
commit 911189a719
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,38 @@
@startuml Tournament System
class Team {
name: String
tournament: Tournament
players: [Player]
matches: [Match]
}
class Group
class Match {
tournament: Tournament
team1: Team
team2: Team
team1_score: Integer
team2_score: Integer
winner_id: Integer
void setScore(team1_score: Integer, team2_score: Integer)
void setWinner(winner_id: Integer)
}
class Player {
name: String
team: Team
void setTeam(team: Team)
}
class Tournament {
}
Tournament "1" *-- "2..*" Team : contains
Player "1..*" *-- "1" Team : belongsTo
Match "*" *--- "2" Team : contains
@enduml

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB