import { TechVendorContact } from "@/db/schema/techVendors" export interface TechVendorContactColumnConfig { id: keyof TechVendorContact label: string group?: string excelHeader?: string type?: string } export const techVendorContactsColumnsConfig: TechVendorContactColumnConfig[] = [ // 기본 정보 { id: "contactName", label: "담당자명", type: "text", group: "기본 정보", excelHeader: "담당자명", }, { id: "contactPosition", label: "직책", type: "text", group: "기본 정보", excelHeader: "직책", }, { id: "contactTitle", label: "직위", type: "text", group: "기본 정보", excelHeader: "직위", }, { id: "contactEmail", label: "이메일", type: "email", group: "연락처", excelHeader: "이메일", }, { id: "contactPhone", label: "전화번호", type: "text", group: "연락처", excelHeader: "전화번호", }, { id: "contactCountry", label: "국가", type: "text", group: "기본 정보", excelHeader: "국가", }, { id: "isPrimary", label: "주담당자", type: "boolean", group: "기본 정보", excelHeader: "주담당자", }, // 시스템 정보 { id: "createdAt", label: "생성일", type: "date", group: "시스템 정보", excelHeader: "생성일", }, { id: "updatedAt", label: "수정일", type: "date", group: "시스템 정보", excelHeader: "수정일", }, ]