import dati prodotti + fornitore + produttore

This commit is contained in:
Surya Paolo
2023-12-15 00:57:24 +01:00
parent b4af36d01c
commit 6a1a1fb249
50 changed files with 177 additions and 26 deletions

View File

@@ -2,9 +2,11 @@ export interface IProduct {
_id?: any
active?: boolean
idProducer?: string,
idProvider?: string,
idStorehouses?: string[],
producer: IProducer,
storehouses: IStorehouse[],
provider: IProvider,
code?: string,
name?: string,
description?: string,
@@ -38,6 +40,7 @@ export interface IOrder {
status?: number
idProduct?: string
idProducer?: string
idProvider?: string
idStorehouse?: string
price?: number
after_price?: string
@@ -49,6 +52,7 @@ export interface IOrder {
product?: IProduct
producer?: IProducer
storehouse?: IStorehouse
provider?: IProvider
date_created?: Date
date_checkout?: Date
date_payment?: Date
@@ -101,6 +105,18 @@ export interface IStorehouse {
img?: string,
website?: string,
}
export interface IProvider {
_id?: any
idapp?: string
name?: string,
description?: string,
referent?: string,
address?: string,
city?: string,
region?: string,
img?: string,
website?: string,
}
export interface ICart {
_id?: any