summaryrefslogtreecommitdiff
path: root/config/candidatesColumnsConfig.ts
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-04-28 02:13:30 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-04-28 02:13:30 +0000
commitef4c533ebacc2cdc97e518f30e9a9350004fcdfb (patch)
tree345251a3ed0f4429716fa5edaa31024d8f4cb560 /config/candidatesColumnsConfig.ts
parent9ceed79cf32c896f8a998399bf1b296506b2cd4a (diff)
~20250428 작업사항
Diffstat (limited to 'config/candidatesColumnsConfig.ts')
-rw-r--r--config/candidatesColumnsConfig.ts122
1 files changed, 94 insertions, 28 deletions
diff --git a/config/candidatesColumnsConfig.ts b/config/candidatesColumnsConfig.ts
index 3eeb2d2a..b6e03744 100644
--- a/config/candidatesColumnsConfig.ts
+++ b/config/candidatesColumnsConfig.ts
@@ -1,7 +1,9 @@
-import { VendorCandidates } from "@/db/schema/vendors"
+import { VendorCandidates, VendorCandidatesWithVendorInfo } from "@/db/schema/vendors"
+
+export type { VendorCandidatesWithVendorInfo }
export interface CandidateColumnConfig {
- id: keyof VendorCandidates
+ id: keyof VendorCandidatesWithVendorInfo
label: string
group?: string
excelHeader?: string
@@ -11,54 +13,118 @@ export interface CandidateColumnConfig {
export const candidateColumnsConfig: CandidateColumnConfig[] = [
// Basic Info
{
- id: "companyName",
- label: "Company Name",
- excelHeader: "Company Name",
+ id: "status",
+ label: "Status",
+ excelHeader: "Status",
// group: "Basic Info",
},
{
+ id: "createdAt",
+ label: "수집일",
+ excelHeader: "수집일",
+ group: "발굴정보",
+ },
+ {
+ id: "items",
+ label: "품목",
+ excelHeader: "품목",
+ group: "발굴정보",
+ },
+ {
+ id: "companyName",
+ label: "업체명",
+ excelHeader: "업체명",
+ group: "발굴정보",
+ },
+ {
id: "contactEmail",
- label: "Contact Email",
- excelHeader: "Contact Email",
- // group: "Basic Info",
+ label: "E-MAIL",
+ excelHeader: "E-MAIL",
+ group: "Vendor 추가정보",
+ },
+ {
+ id: "country",
+ label: "국가",
+ excelHeader: "국가",
+ group: "Vendor 추가정보",
},
{
+ id: "address",
+ label: "주소",
+ excelHeader: "주소",
+ group: "Vendor 추가정보",
+ },
+
+ {
id: "contactPhone",
- label: "Contact Phone",
- excelHeader: "Contact Phone",
- // group: "Basic Info",
+ label: "전화번호",
+ excelHeader: "전화번호",
+ group: "Vendor 추가정보",
},
{
- id: "country",
- label: "Country",
- excelHeader: "Country",
- // group: "Basic Info",
+ id: "taxId",
+ label: "사업자등록번호",
+ excelHeader: "사업자등록번호",
+ group: "Vendor 추가정보",
},
+
{
id: "source",
- label: "Source",
- excelHeader: "Source",
- // group: "Basic Info",
+ label: "크롤링사이트(출처)",
+ excelHeader: "크롤링사이트(출처)",
+ group: "Vendor 추가정보",
},
{
- id: "status",
- label: "Status",
- excelHeader: "Status",
- // group: "Basic Info",
+ id: "lastInvitationAt",
+ label: "Invitation 발송일",
+ excelHeader: "Invitation 발송일",
+ group: "Vendor 추가정보",
+ },
+ {
+ id: "lastInvitationBy",
+ label: "Invitation 발송자",
+ excelHeader: "Invitation 발송자",
+ group: "Vendor 추가정보",
+ },
+ {
+ id: "vendorName",
+ label: "Vendor 등록 사명",
+ excelHeader: "Vendor 등록 사명",
+ group: "Vendor 추가정보",
+ },
+ {
+ id: "vendorCreatedAt",
+ label: "Vendor 등록일",
+ excelHeader: "Vendor 등록일",
+ group: "Vendor 추가정보",
},
+ {
+ id: "lastStatusChangeAt",
+ label: "Status 최종변경일",
+ excelHeader: "Status 최종변경일",
+ group: "Vendor 추가정보",
+ },
+ {
+ id: "lastStatusChangeBy",
+ label: "Status 발송자",
+ excelHeader: "Status 최종변경자",
+ group: "Vendor 추가정보",
+ },
-
{
- id: "createdAt",
- label: "Created At",
- excelHeader: "Created At",
- // group: "Metadata",
+ id: "remark",
+ label: "비고",
+ excelHeader: "비고",
+ group: "Vendor 추가정보",
},
+
+
+
{
id: "updatedAt",
label: "Updated At",
excelHeader: "Updated At",
- // group: "Metadata",
+ group: "Vendor 추가정보",
},
] \ No newline at end of file