cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Manager has 3 teams . how a employee relationship to more than one team

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?

1 REPLY 1

leelandclay
Graph Buddy

If I'm understanding correctly, I would create a team's node that then employees could have either member of or manages relationship to.