Is this UML diagram correct?

I have three tables: items, users and roles.
I want to express the following in a UML diagram:

There is a one-to-many relationship between users and items.
This is optional in that a user may have zero or more items.
An item belongs to one user.

There is a one-to-many relationship between users and roles.
This is optional in that a role may belong to zero or more users.
A user has one role.

This is what I have so far.

Does that look correct or am I doing ir wrong?

Can multiple users have the same role? (re-reading your post, it seems that is the case) If so, it looks correctly defined to me.

1 Like

They can indeed.
Thanks, Matt.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.