Updated class diagram

This commit is contained in:
Jonas Haugland 2022-04-27 12:01:48 +02:00
parent 3b35760ff4
commit 4d81ede22c
2 changed files with 4 additions and 4 deletions

View File

@ -4,8 +4,8 @@
title Tournament System - Group 1 title Tournament System - Group 1
class User { class Admin {
*user_id: Integer *admin_id: Integer
google_id: String google_id: String
name: String name: String
email: String email: String
@ -38,8 +38,8 @@ class Tournament {
} }
User "1..*" -- "0..*" Tournament : "Manages" Admin "1..*" -- "0..*" Tournament : "Manages"
User "1..*" -- "0..*" Team : "Manages" Admin "1..*" -- "0..*" Team : "Manages"
Team "2..*" -- "1..1" Tournament : "Plays in" Team "2..*" -- "1..1" Tournament : "Plays in"
Team "2..2" -- "1..*" Match : "Competes in" Team "2..2" -- "1..*" Match : "Competes in"
Tournament "1" -- "3..*" Match : "Contains" Tournament "1" -- "3..*" Match : "Contains"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB