asura-tmdb/documentation/domainModel.puml

48 lines
703 B
Plaintext
Raw Permalink Normal View History

@startuml Tournament System
title Tournament System - Group 1
class Match {
*match_id: Integer
Tournament
Teams
Winner
}
class Team {
*team_id
Name
Tournaments
Matches
}
class Tournament {
*tournament_id
Name
Banner Image
2022-03-06 16:20:40 +01:00
Start-time
End-time
Teams
}
class Admin {
2022-03-06 16:20:40 +01:00
*admin_id
Name
Email
google_id
2022-03-06 16:20:40 +01:00
Manager-status
}
class Guest {
}
2022-04-27 09:50:38 +02:00
Team "2..*" -- "1..*" Tournament : "Plays in"
Tournament "1" -- "1..*" Match : "Contains"
Team "2..2" -- "1..*" Match : "Competes in"
Admin "1..*" -- "0..*" Tournament : "Manages"
Admin "1..*" -- "0..*" Team : "Manages"
Guest "0..*" --> "0..*" Tournament : "View overview"
2022-04-27 09:50:38 +02:00
@enduml