Many to many and identity foreign key mapping