Adding a null mark means that the user link will only contain one label for each link. If you need only one shortcut, go with it.
If you need several shortcuts to a link, then enter a third object, for example.
class LinkLabel
{
@ManyToOne
Link link;
@ManyToOne
Label label;
@ManyToOne
User user;
}
mdma source
share