diff --git a/documentation/domainModel.puml b/documentation/domainModel.puml new file mode 100644 index 0000000..3568d79 --- /dev/null +++ b/documentation/domainModel.puml @@ -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 \ No newline at end of file diff --git a/documentation/screenshots/issue_board_uke1.png b/documentation/screenshots/issue_board_uke1.png new file mode 100644 index 0000000..1277ead Binary files /dev/null and b/documentation/screenshots/issue_board_uke1.png differ