I'm taking a course that is going over UML diagrams. I have been assigned to change an ER diagram to a UML diagram. For the most part, I am getting the hang of it, but I have encountered two problems that are confusing to me:
How to represent an attribute of a relationship. Here is an example of what I mean.
I do not know where I would add the "Hours attribute", as in under the Employee or Project class.
Representing two difference relationships between a set of two entities. Sort of like this:
Can I have two associations connecting the classes similar to the image I showed above?