refactor: update structure
This commit is contained in:
parent
a2dbaf29fb
commit
1cf1915209
1 changed files with 3 additions and 6 deletions
|
|
@ -790,6 +790,9 @@ model Quotation {
|
|||
customerBranchId String
|
||||
customerBranch CustomerBranch @relation(fields: [customerBranchId], references: [id])
|
||||
|
||||
status Status @default(CREATED)
|
||||
statusOrder Int @default(0)
|
||||
|
||||
code String
|
||||
date DateTime @default(now())
|
||||
payCondition PayCondition
|
||||
|
|
@ -848,9 +851,6 @@ model QuotationService {
|
|||
detail String
|
||||
attributes Json?
|
||||
|
||||
status Status @default(CREATED)
|
||||
statusOrder Int @default(0)
|
||||
|
||||
work QuotationServiceWork[]
|
||||
|
||||
quotation Quotation @relation(fields: [quotationId], references: [id])
|
||||
|
|
@ -864,9 +864,6 @@ model QuotationServiceWork {
|
|||
name String
|
||||
attributes Json?
|
||||
|
||||
status Status @default(CREATED)
|
||||
statusOrder Int @default(0)
|
||||
|
||||
service QuotationService @relation(fields: [serviceId], references: [id])
|
||||
serviceId String
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue