refactor: structure
This commit is contained in:
parent
0319990232
commit
d2e7a89211
1 changed files with 4 additions and 2 deletions
|
|
@ -811,8 +811,9 @@ model Quotation {
|
|||
|
||||
totalPrice Float
|
||||
totalDiscount Float
|
||||
vat Int
|
||||
vatExcluded Int
|
||||
vat Float
|
||||
vatExcluded Float
|
||||
finalPrice Float
|
||||
|
||||
createdAt DateTime @default(now())
|
||||
createdBy User? @relation(name: "QuotationCreatedByUser", fields: [createdByUserId], references: [id], onDelete: SetNull)
|
||||
|
|
@ -877,6 +878,7 @@ model QuotationServiceWorkProduct {
|
|||
product Product @relation(fields: [productId], references: [id], onDelete: Cascade)
|
||||
productId String
|
||||
|
||||
vat Int
|
||||
amount Int
|
||||
discount Float
|
||||
pricePerUnit Float
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue