summaryrefslogtreecommitdiff
path: root/config/informationColumnsConfig.ts
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-07-01 02:53:18 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-07-01 02:53:18 +0000
commitd66d308169e559457878c02e3b0443da22693241 (patch)
tree257b4d1d3345d2828e6ea8473938b5113d2ae733 /config/informationColumnsConfig.ts
parent4ab3f7fd98f544244df972f3f333bbe3525d54f8 (diff)
(최겸) 정보시스템 인포메이션 기능 개발
Diffstat (limited to 'config/informationColumnsConfig.ts')
-rw-r--r--config/informationColumnsConfig.ts64
1 files changed, 64 insertions, 0 deletions
diff --git a/config/informationColumnsConfig.ts b/config/informationColumnsConfig.ts
new file mode 100644
index 00000000..6357cfa3
--- /dev/null
+++ b/config/informationColumnsConfig.ts
@@ -0,0 +1,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",
+ },
+] \ No newline at end of file