summaryrefslogtreecommitdiff
path: root/db/schema/techSales.ts
diff options
context:
space:
mode:
Diffstat (limited to 'db/schema/techSales.ts')
-rw-r--r--db/schema/techSales.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/schema/techSales.ts b/db/schema/techSales.ts
index 09b32500..c252a116 100644
--- a/db/schema/techSales.ts
+++ b/db/schema/techSales.ts
@@ -238,6 +238,14 @@ export const techSalesVendorQuotations = pgTable(
// === [끝] 견적 응답 정보 ===
+ // 벤더 구분자 정보 (JSON 형태로 저장)
+ vendorFlags: json("vendor_flags").$type<{
+ isCustomerPreferred?: boolean; // 고객(선주) 선호 벤더
+ isNewDiscovery?: boolean; // 신규 발굴 벤더
+ isProjectApproved?: boolean; // Project Approved Vendor
+ isShiProposal?: boolean; // SHI Proposal Vendor
+ }>(),
+
// 상태 관리
status: varchar("status", { length: 30 })
.$type<TechSalesQuotationStatus>()