Need some work done? Post a Project Today
We are modelling a data model for an online shop. It’s a very, limited model. The model allows a
Customer to have orders. Each order is composed of one or more products. For each order we
need to store how many of those products were ordered, and the total amount (which is the
amount ordered of that product multiplied with the product price). An order is linked to a
customer; a Customer has zero or more orders. And the order is also linked to a shop.
See attachment for further details, basic code is already written, just need to complete it.
basic code on demand...