From 519d01ed0a2e40c353d0afcccd4b7a83483f7eaf Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Wed, 12 Nov 2025 18:58:10 +0900
Subject: (김준회) Document Numbering Rule(해양): DOC_CLASS 1글자로 제한 (SWP측
 제약), DOC_CLASS에서 코드 컬럼 제거
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../table/document-class-table-columns.tsx         | 35 ++++++++++++++--------
 1 file changed, 22 insertions(+), 13 deletions(-)

(limited to 'lib/docu-list-rule/document-class/table/document-class-table-columns.tsx')

diff --git a/lib/docu-list-rule/document-class/table/document-class-table-columns.tsx b/lib/docu-list-rule/document-class/table/document-class-table-columns.tsx
index 9d8d91e0..6b4a882f 100644
--- a/lib/docu-list-rule/document-class/table/document-class-table-columns.tsx
+++ b/lib/docu-list-rule/document-class/table/document-class-table-columns.tsx
@@ -110,35 +110,44 @@ export function getColumns({ setRowAction, onDetail }: GetColumnsProps): ColumnD
       accessorKey: "value",
       enableResizing: true,
       header: ({ column }) => (
-        <DataTableColumnHeaderSimple column={column} title="클래스" />
+        <DataTableColumnHeaderSimple column={column} title="DOC_CLASS" />
       ),
       meta: {
-        excelHeader: "클래스",
+        excelHeader: "DOC_CLASS",
         type: "text",
       },
       cell: ({ row }) => {
         const value = row.getValue("value") as string
+        return <span className="">{value}</span>
+      },
+      minSize: 80
+    },
+
+    {
+      accessorKey: "description",
+      enableResizing: true,
+      header: ({ column }) => (
+        <DataTableColumnHeaderSimple column={column} title="Description" />
+      ),
+      meta: {
+        excelHeader: "Description",
+        type: "text",
+      },
+      cell: ({ row }) => {
         const description = row.getValue("description") as string
-        return (
-          <div className="flex items-center gap-2">
-            <span className="font-mono font-bold text-lg">{value}</span>
-            {description && (
-              <span className="text-muted-foreground text-sm">- {description}</span>
-            )}
-          </div>
-        )
+        return <span>{description || "-"}</span>
       },
-      minSize: 250
+      minSize: 200
     },
 
     {
       accessorKey: "createdAt",
       enableResizing: true,
       header: ({ column }) => (
-        <DataTableColumnHeaderSimple column={column} title="생성일" />
+        <DataTableColumnHeaderSimple column={column} title="createdAt" />
       ),
       meta: {
-        excelHeader: "생성일",
+        excelHeader: "createdAt",
         type: "date",
       },
       cell: ({ row }) => {
-- 
cgit v1.2.3

