how to design a model in spring boot.
the manager belongs to multiple departments and one department has multiple teams, now, one employee belongs to more than one team.
how to design this scenario in @NodeEntity, so that I can get value by relationship.
the query looks like - get all employees from a manager of team a?