summaryrefslogtreecommitdiff
path: root/lib/vendor-pool/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vendor-pool/types.ts')
-rw-r--r--lib/vendor-pool/types.ts109
1 files changed, 109 insertions, 0 deletions
diff --git a/lib/vendor-pool/types.ts b/lib/vendor-pool/types.ts
new file mode 100644
index 00000000..c6501d59
--- /dev/null
+++ b/lib/vendor-pool/types.ts
@@ -0,0 +1,109 @@
+/**
+ * Vendor Pool 데이터 타입 정의
+ */
+
+export interface VendorPool {
+ id: number
+ // 선택 체크박스
+ selected?: boolean
+
+ // 기본 정보
+ constructionSector: string // 공사부문: 조선 또는 해양
+ htDivision: string // H/T구분: H 또는 T
+
+ // 설계 정보
+ designCategoryCode: string // 설계기능(공종) 코드: 2자리 영문대문자
+ designCategory: string // 설계기능(공종): 전장 등
+ equipBulkDivision: string // Equip/Bulk 구분: E 또는 B
+
+ // 패키지 정보
+ packageCode: string
+ packageName: string
+
+ // 자재그룹 정보
+ materialGroupCode: string
+ materialGroupName: string
+
+ // 자재 관련 정보
+ smCode: string
+ similarMaterialNamePurchase: string // 유사자재명 (구매)
+ similarMaterialNameOther: string // 유사자재명 (구매 외)
+
+ // 협력업체 정보
+ vendorCode: string
+ vendorName: string
+
+ // 사업 및 인증 정보
+ taxId: string // 사업자번호
+ faTarget: boolean // FA대상
+ faStatus: string // FA현황
+ faRemark: string // FA상세
+ tier: string // 등급
+ isAgent: boolean // Agent 여부
+
+ // 계약 정보
+ contractSignerCode: string
+ contractSignerName: string
+
+ // 위치 정보
+ headquarterLocation: string // 본사 위치 (국가)
+ manufacturingLocation: string // 제작/선적지 (국가)
+
+ // AVL 관련 정보
+ avlVendorName: string // AVL 등재업체명
+ similarVendorName: string // 유사업체명(기술영업)
+ hasAvl: boolean // AVL 존재여부
+
+ // 상태 정보
+ isBlacklist: boolean // Blacklist
+ isBcc: boolean // BCC
+ purchaseOpinion: string // 구매의견
+
+ // AVL 적용 선종(조선)
+ shipTypeCommon: boolean // 공통
+ shipTypeAmax: boolean // A-max
+ shipTypeSmax: boolean // S-max
+ shipTypeVlcc: boolean // VLCC
+ shipTypeLngc: boolean // LNGC
+ shipTypeCont: boolean // CONT
+
+ // AVL 적용 선종(해양)
+ offshoreTypeCommon: boolean // 공통
+ offshoreTypeFpso: boolean // FPSO
+ offshoreTypeFlng: boolean // FLNG
+ offshoreTypeFpu: boolean // FPU
+ offshoreTypePlatform: boolean // Platform
+ offshoreTypeWtiv: boolean // WTIV
+ offshoreTypeGom: boolean // GOM
+
+ // eVCP 미등록 정보
+ picName: string // PIC(담당자)
+ picEmail: string // PIC(E-mail)
+ picPhone: string // PIC(Phone)
+ agentName: string // Agent(담당자)
+ agentEmail: string // Agent(E-mail)
+ agentPhone: string // Agent(Phone)
+
+ // 업체 실적 현황
+ recentQuoteDate: string // 최근견적일
+ recentQuoteNumber: string // 최근견적번호
+ recentOrderDate: string // 최근발주일
+ recentOrderNumber: string // 최근발주번호
+
+ // 업데이트 히스토리
+ registrationDate: string // 등재일
+ registrant: string // 등재자
+ lastModifiedDate: string // 최종변경일
+ lastModifier: string // 최종변경자
+}
+
+// Vendor Pool 액션 타입들
+export type VendorPoolActionType =
+ | "new-registration" // 신규등록
+ | "bulk-import" // 일괄입력
+ | "fa-detail" // FA상세
+ | "save" // 저장
+ | "fixed-values" // 고정값 설정
+ | "edit" // 수정
+ | "delete" // 삭제
+ | "view-detail" // 상세보기