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?