diff options
Diffstat (limited to 'config/candidatesColumnsConfig.ts')
| -rw-r--r-- | config/candidatesColumnsConfig.ts | 122 |
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 |
