Relationship job/machine ok in struct