summaryrefslogtreecommitdiff
path: root/config/informationColumnsConfig.ts
blob: 6357cfa3632afd1126aa276e3acb7d0039f77eca (plain)
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
import { PageInformation } from "@/db/schema/information"

export interface InformationColumnConfig {
  id: keyof PageInformation
  label: string
  group?: string
  excelHeader?: string
  type?: string
}

export const informationColumnsConfig: InformationColumnConfig[] = [
  {
    id: "pageCode",
    label: "페이지 코드",
    excelHeader: "페이지 코드",
  },
  {
    id: "pageName",
    label: "페이지명",
    excelHeader: "페이지명",
  },
  {
    id: "title",
    label: "제목",
    excelHeader: "제목",
  },
  {
    id: "description",
    label: "설명",
    excelHeader: "설명",
  },
  {
    id: "noticeTitle",
    label: "공지사항 제목",
    excelHeader: "공지사항 제목",
  },
  {
    id: "noticeContent",
    label: "공지사항 내용",
    excelHeader: "공지사항 내용",
  },
  {
    id: "attachmentFileName",
    label: "첨부파일",
    excelHeader: "첨부파일",
  },
  {
    id: "isActive",
    label: "상태",
    excelHeader: "상태",
  },
  {
    id: "createdAt",
    label: "생성일",
    excelHeader: "생성일",
    type: "date",
  },
  {
    id: "updatedAt",
    label: "수정일",
    excelHeader: "수정일",
    type: "date",
  },
]