I have two classes: Machine and Production. I want to have an enum MachineType to use that in both classes.
If the Production's MachineType does not correspond to the one in the Machine class then the Production cannot be completed.
My question is is it okay to connect one enum to both classes?
Or do i have to create different enums?
And how to display this on UML?
