add:product price

This commit is contained in:
ilham
2021-12-06 23:15:26 +07:00
parent f1594ebd96
commit 77db83490f
8 changed files with 80 additions and 36 deletions

View File

@@ -26,6 +26,9 @@ export class Product extends BaseModel{
@Column()
status: string;
@Column()
price: number;
@ManyToOne(
() => ProductSubCategories,
(subCategories) => subCategories.category,