Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 18065

class diagram historical archive of players

$
0
0

I would like to create a historical archive of the players. I would like to represent for every player with these attributes = first name, last name, date of birth, one or more roles [gk, dc, ts, att and others] and skills. each player has a career during which he plays in one or more teams with these attributes = name, nationality and id.the player's participation in the team is characterized by = goals, games played, goals conceded (applicable only to the goalkeeper). Each participation is characterized by one or more relevant periods with a start date and an end date.

enter image description here

I tried like this but I had doubts as to whether the constraint whereby a player cannot play in more than one club team in the same period but only at the same time for a club and a national teami try. Is it the wrong solution? Are there better representations?


Viewing all articles
Browse latest Browse all 18065

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>