import dati prodotti + fornitore + produttore
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { IAction } from '@src/model/Projects'
|
||||
import { IFriends, IGroupShort, IMyGroup, IPaymentType } from '@src/model/UserStore'
|
||||
import {
|
||||
IDepartment, IProducer, IShareWithUs, IStorehouse, ICategory
|
||||
IDepartment, IProducer, IShareWithUs, IStorehouse, IProvider, ICategory
|
||||
} from '@src/model/Products'
|
||||
|
||||
import { IUserFields, IUserProfile } from '@src/model/UserStore'
|
||||
@@ -434,6 +434,7 @@ export interface IGlobalState {
|
||||
mailinglist: IMailinglist[],
|
||||
calzoom: ICalZoom[],
|
||||
producers: IProducer[],
|
||||
providers: IProvider[],
|
||||
storehouses: IStorehouse[],
|
||||
departments: IDepartment[],
|
||||
categories: ICategory[],
|
||||
|
||||
@@ -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