add unfinish order transaction

This commit is contained in:
2021-12-09 17:02:05 +07:00
parent 78a2cadb5e
commit 847f6f45d6
4 changed files with 91 additions and 48 deletions

View File

@@ -29,6 +29,11 @@ export class Product extends BaseModel{
@Column()
price: number;
@Column({
nullable:true
})
basePrice: number;
@ManyToOne(
() => ProductSubCategories,
(subCategories) => subCategories.category,