1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
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: "수정일",
},
]
|