feat: add max worker field

This commit is contained in:
Methapon Metanipat 2024-10-18 14:48:50 +07:00
parent ee113b3820
commit b4fb53cdcf
3 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Quotation" ADD COLUMN "workerMax" INTEGER;

View file

@ -1123,6 +1123,8 @@ model Quotation {
worker QuotationWorker[]
workerMax Int?
urgent Boolean @default(false)
productServiceList QuotationProductServiceList[]

View file

@ -60,6 +60,8 @@ type QuotationCreate = {
}
)[];
workerMax?: number | null;
customerBranchId: string;
urgent?: boolean;
@ -113,6 +115,8 @@ type QuotationUpdate = {
}
)[];
workerMax?: number | null;
customerBranchId?: string;
urgent?: boolean;