From 2b490956c9752c1b756780a3461bc1c37b6fe0a7 Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Mon, 15 Sep 2025 18:58:07 +0900 Subject: (김준회) AVL 관리 및 상세 - 기능 구현 1차 + docker compose 내 오류 수정 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/avl/types.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'lib/avl/types.ts') diff --git a/lib/avl/types.ts b/lib/avl/types.ts index 640299ef..6a7b5143 100644 --- a/lib/avl/types.ts +++ b/lib/avl/types.ts @@ -7,6 +7,7 @@ export interface AvlListItem extends Omit { selected: boolean; createdAt: string; // UI에서 사용하기 위해 string으로 변환 updatedAt: string; // UI에서 사용하기 위해 string으로 변환 + vendorInfoSnapshot?: any; // JSON 데이터 // 추가 표시용 필드들 (실제로는 AvlVendorInfo에서 가져와야 함) projectInfo?: string; @@ -53,11 +54,12 @@ export interface AvlDetailItem extends Omit { +export interface CreateAvlListInput extends Omit { // UI에서 입력받을 추가 필드들 projectInfo?: string; shipType?: string; avlType?: string; + vendorInfoSnapshot?: any; // JSON 데이터, 선택적 속성 } // AVL 업데이트를 위한 입력 타입 @@ -68,6 +70,18 @@ export interface UpdateAvlListInput extends Partial { // AVL Vendor Info UI 입력을 위한 인터페이스 export interface AvlVendorInfoInput { + // AVL 타입 구분 + isTemplate?: boolean; // false: 프로젝트 AVL, true: 표준 AVL + + // 표준 AVL용 필드들 (isTemplate=true일 경우) + constructionSector?: string; // 공사부문 + shipType?: string; // 선종 + avlKind?: string; // AVL 종류 + htDivision?: string; // H/T 구분 + + // 프로젝트 코드 (나중에 AVL 리스트와 연결할 때 사용) + projectCode?: string; + // AVL 리스트 ID (생성 시 필수, UI에서는 선택적으로 사용) avlListId?: number; -- cgit v1.2.3