Hello, I am developing a small order control system for a restaurant and I do not have much experience in database modeling, I have created the following entities:
The problem is the following, for normal products it works but has products that are assembled by materials and I do not know how to merge these materials to each product of each order. I was thinking of ordering each product within the order and adding the materials to order.An example of an assembled product would be a snack and the customer would choose all of their components, such as bread,
How could I relate these tables in the best way?