I am not experienced in making class diagrams so I decided to post here to get some help.
Problems with the following diagram:
- Can't figure out the relationship I need in order to have a HumanManager only exist if its assigned a User.
- Don't know if the relationship I have created between the TeamStats class and the Teams and Leagues is the best one
Football Manager Class Diagram:
Can someone help me out with understanding what I need to do and clarify what I am doing wrong here?
CodePudding user response:
- I would suggest you use something like a coupling/registration table to assign the HumanManager to the user, since the humanmanager can be assigned to more users and perhaps there can be more managers assigned to the same user. So this way you are on the safe side. This way you can possibly make a field 'managertype' and remove the robotmanager table.