Рефакторинг ORM "many to many"