Creates a new Order
- userIdThis is the userId of the user that has the order
- productCategoryThis is the product category of this order
- productNameThis is the product name of this order
- quantityThis is the quantity of this order
- totalPriceThis is the total price of this order
- shippingAddressThis is the address where the order is to be delivered
- paymentMethodThis is the method that this order is to be paid for after or before delivery
Order
Order- idThis is the id of this order
- userIdThis is the userId of the user that has the order
- productCategoryThis is the product category of this order
- productNameThis is the product name of this order
- quantityThis is the quantity of this order
- totalPriceThis is the total price of this order
- orderDateThis is the date the order was placed
- statusThis is the status of this order, it can be Pending, Shipped or Delivered
- shippingAddressThis is the address where the order is to be delivered
- paymentMethodThis is the method that this order is to be paid for after or before delivery
- userUserThis is the user that has this order