forked from DeborahK/Angular-DD
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
58 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 0 additions & 67 deletions
67
APM/src/app/products/product-suppliers/product-suppliers.component.html
This file was deleted.
Oops, something went wrong.
95 changes: 0 additions & 95 deletions
95
APM/src/app/products/product-suppliers/product-suppliers.component.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
import { Supplier } from "../suppliers/supplier"; | ||
|
||
/* | ||
Defines the product entity | ||
Note that this shape includes both the categoryId and the category string | ||
This shape includes both the categoryId and the category string | ||
This shape includes both the supplierIds and the supplier objects | ||
*/ | ||
export interface Product { | ||
id: number; | ||
productName: string; | ||
productCode: string; | ||
categoryId: number; | ||
category?: string; | ||
price: number; | ||
description: string; | ||
price: number; | ||
supplierIds?: number[]; | ||
suppliers?: Supplier[] | ||
} |
Oops, something went wrong.