summaryrefslogtreecommitdiff
path: root/db/schema/techSales.ts
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-11-18 20:50:39 +0900
committerjoonhoekim <26rote@gmail.com>2025-11-18 20:50:39 +0900
commit8070b9428918d9ae5e03ad17eef6d403d2a7aaba (patch)
treeae61ea52ae3dae5f2d084a16986b9733a4140047 /db/schema/techSales.ts
parent8dba4d53d763bf9e1302a84a8fc65727425219ee (diff)
parentbe5d5ab488ae875e7c56306403aba923e1784021 (diff)
Merge branch 'dujinkim' of https://github.com/DTS-Development/SHI_EVCP into dujinkim
Diffstat (limited to 'db/schema/techSales.ts')
-rw-r--r--db/schema/techSales.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/db/schema/techSales.ts b/db/schema/techSales.ts
index c252a116..677e8cd3 100644
--- a/db/schema/techSales.ts
+++ b/db/schema/techSales.ts
@@ -48,7 +48,8 @@ import { techVendors, techVendorContacts, techVendorPossibleItems } from "./tech
// 기술영업 RFQ 상태
export const TECH_SALES_RFQ_STATUSES = {
RFQ_CREATED: "RFQ Created",
- RFQ_VENDOR_ASSIGNED: "RFQ Vendor Assignned",
+ RFQ_VENDOR_ASSIGNED: "RFQ Vendor Assignned",
+ APPROVAL_IN_PROGRESS: "결재 진행중",
RFQ_SENT: "RFQ Sent",
QUOTATION_ANALYSIS: "Quotation Analysis",
CLOSED: "Closed",
@@ -208,6 +209,7 @@ export const techSalesAttachments = pgTable(
fileSize: integer("file_size"),
fileType: varchar("file_type", { length: 100 }),
description: varchar("description", { length: 500 }),
+ drmEncrypted: boolean("drm_encrypted").default(false).notNull(), // DRM 암호화 여부
createdBy: integer("created_by")
.references(() => users.id, { onDelete: "set null" })
.notNull(),