add template
This commit is contained in:
20
src/app/demo/domain/customer.ts
Normal file
20
src/app/demo/domain/customer.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
export interface Country {
|
||||
name?: string;
|
||||
code?: string;
|
||||
}
|
||||
|
||||
export interface Representative {
|
||||
name?: string;
|
||||
image?: string;
|
||||
}
|
||||
|
||||
export interface Customer {
|
||||
id?: number;
|
||||
name?: string;
|
||||
country?: Country;
|
||||
company?: string;
|
||||
date?: string;
|
||||
status?: string;
|
||||
activity?: number;
|
||||
representative?: Representative;
|
||||
}
|
||||
6
src/app/demo/domain/image.ts
Normal file
6
src/app/demo/domain/image.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export interface Image {
|
||||
previewImageSrc?;
|
||||
thumbnailImageSrc?;
|
||||
alt?;
|
||||
title?;
|
||||
}
|
||||
12
src/app/demo/domain/product.ts
Executable file
12
src/app/demo/domain/product.ts
Executable file
@@ -0,0 +1,12 @@
|
||||
export interface Product {
|
||||
id?: string;
|
||||
code?: string;
|
||||
name?: string;
|
||||
description?: string;
|
||||
price?: number;
|
||||
quantity?: number;
|
||||
inventoryStatus?: string;
|
||||
category?: string;
|
||||
image?: string;
|
||||
rating?: number;
|
||||
}
|
||||
Reference in New Issue
Block a user