is there any option to enforce to generate entity of many-to-many table having 2 columns as foreign key