import dati prodotti + fornitore + produttore
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user