diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-03-26 00:37:41 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-03-26 00:37:41 +0000 |
| commit | e0dfb55c5457aec489fc084c4567e791b4c65eb1 (patch) | |
| tree | 68543a65d88f5afb3a0202925804103daa91bc6f /config/itemsColumnsConfig.ts | |
3/25 까지의 대표님 작업사항
Diffstat (limited to 'config/itemsColumnsConfig.ts')
| -rw-r--r-- | config/itemsColumnsConfig.ts | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/config/itemsColumnsConfig.ts b/config/itemsColumnsConfig.ts new file mode 100644 index 00000000..f2b9a61b --- /dev/null +++ b/config/itemsColumnsConfig.ts @@ -0,0 +1,42 @@ +import { Item } from "@/db/schema/items" + +export interface ItemColumnConfig { + id: keyof Item + label: string + group?: string + excelHeader?: string + type?: string +} + +export const itemsColumnsConfig: ItemColumnConfig[] = [ + { + id: "itemCode", + label: "Item Code", + excelHeader: "Item Code", + // group: "Basic Info", + }, + { + id: "itemName", + label: "Item Name", + excelHeader: "Item Name", + // group: "Basic Info", + }, + { + id: "description", + label: "Description", + excelHeader: "Description", + // group: "Basic Info", + }, + { + id: "createdAt", + label: "Created At", + excelHeader: "Created At", + // group: "Metadata",a + }, + { + id: "updatedAt", + label: "Updated At", + excelHeader: "Updated At", + // group: "Metadata", + }, +]
\ No newline at end of file |
