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
|
import { Notice } from "@/db/schema/notice"
export interface NoticeColumnConfig {
id: keyof Notice
label: string
group?: string
excelHeader?: string
type?: string
}
export const noticeColumnsConfig: NoticeColumnConfig[] = [
{
id: "id",
label: "ID",
excelHeader: "ID",
},
{
id: "pagePath",
label: "페이지 경로",
excelHeader: "페이지 경로",
},
{
id: "title",
label: "제목",
excelHeader: "제목",
},
{
id: "content",
label: "내용",
excelHeader: "내용",
},
{
id: "authorId",
label: "작성자 ID",
excelHeader: "작성자 ID",
},
{
id: "isActive",
label: "활성 상태",
excelHeader: "활성 상태",
},
{
id: "createdAt",
label: "생성일",
excelHeader: "생성일",
type: "date",
},
{
id: "updatedAt",
label: "수정일",
excelHeader: "수정일",
type: "date",
},
]
|