ok.
its all about the mental construct you make in your head. using that mental construct you will write your classes and interlink them to provide the whole solution. so of course there are multiple ways a problem can be solved.
In this case its very clear that there will be 3 major classes
- Equipment
- Employee
- Location
the relationship between them will be such that : "an employee working at a certain location is working on a certain equipment there"
based on this statement you can define how your classes will interact with each other. lets see a few ways you can do that
1- a Location will have a list of its employees. each employee will be assigned an equipment. in this case a location object will have an array etc ref variable of employees. and an employee object will have an equipment reference variable. If i mix everything up like a location will have and employee ref var and an employee will have a location ref var i will be creating a paradox in my design.
2- an employee object has a location ref var and an equipment ref var and i can maintain a 4th class HR which has a hashmap or something which maintains employee location lists etc
if you have further confusions you can ask