I have a entity diagram from some analysis that I’d like to have someone look over. For some reason the System object just doesn’t seem right to me. Is there a better way to relate the objects?
Its basically a user authentication/management system in its infancy.
http://www.dumpt.com/img/viewer.php?file=zlh8ltbtho4mutbbb3yk.gif
Cheers,
Mike
UserandCompanyshould have a common base class (they both have names and mail addresses), then you can link theSystemto this base class. That’s a common pattern for business modeling, look for example, into chapter one of Martin Fowler’s book “Analysis Patterns”.EDIT: Or, if you think this makes more sense, you use
Systemas the base class itself, put the EMail adress there (and perhaps giveSystema better name likeLegalPerson,CorporateBodyor something like that).