My straight forward question:
If I have a many-to-many relation in my database (as the following tables)
User Role UserRole
user_id role_id user_id
role_id
Should UserRole have its own Model when connecting this database to a MVC framework?
In context:
I'm rewriting my completely self-written web service with a MVC framework and I decided to use Yii. I have the option to generate a lot of code from my database tables but I got confused whether to Model the many-to-many relation tables (like UserRole above).
Thanks in advance!