I’m creating a module that needs a relationship (one-to-many) between my custom model and Magento catalog Product model. To achieve this, I tried to copy the relationship between Magento’s Category and Product models, but I don’t fully understand how this relationship is made.
Can you show me an overview of the implementation (in both model and database levels) of this relationship ?