Connect Orders database table with Payments and Addresses, visualize it in the frontend

This commit is contained in:
2024-09-24 23:41:35 +02:00
parent 531f964841
commit 6dd49f630d
19 changed files with 517 additions and 223 deletions

View File

@@ -1,4 +1,6 @@
import { AddressModel } from "./addressModel"
import { OrderItemModel } from "./orderItemModel"
import { PaymentModel } from "./paymentModel"
export class OrderModel {
id: number
@@ -6,4 +8,6 @@ export class OrderModel {
shippingProgress: number
orderItems: Array<OrderItemModel>
orderedAt: string
payment: PaymentModel
address: AddressModel
}