I have following entities with a many-to-many relationships.

i'm making a small playlist app where the entity named Entity is for the playlists and the songs entity is for the songs. at the moment i have a viewcontroller where you can add playlists to the Entity and a viewcontroller where you can add songs to the song entity. The problem is that all the videos are shown in every playlists. How can i hook this relationship up between these 2 entities?
Do i need to make a attribute in Songs which hold a playlist id? or how will the Entity know which song belong in which Entity object?

Check this
This is picture of the answer! You will need to use a table to couple the to tables together.