The OrderItem DB Model specs
field | type | status | description |
---|---|---|---|
order | FK | mandatory | Order |
product | FK | mandatory | Product |
quantity | int | mandatory | How many? |
- unit_price
- total_price
- total_taxes
- A ProductItem must be connected to an Order
- Must be saved upon Order Creation