Merge branch 'main' of http://39.117.244.52:3000/kjs/ERP-node into reportMng
This commit is contained in:
@@ -25,6 +25,8 @@ export interface CodeInfo {
|
||||
sortOrder?: number;
|
||||
isActive?: string | boolean;
|
||||
useYn?: string;
|
||||
parentCodeValue?: string | null; // 계층구조: 부모 코드값
|
||||
depth?: number; // 계층구조: 깊이 (1, 2, 3단계)
|
||||
|
||||
// 기존 필드 (하위 호환성을 위해 유지)
|
||||
code_category?: string;
|
||||
@@ -33,10 +35,14 @@ export interface CodeInfo {
|
||||
code_name_eng?: string | null;
|
||||
sort_order?: number;
|
||||
is_active?: string;
|
||||
parent_code_value?: string | null; // 계층구조: 부모 코드값
|
||||
created_date?: string | null;
|
||||
created_by?: string | null;
|
||||
updated_date?: string | null;
|
||||
updated_by?: string | null;
|
||||
|
||||
// 트리 구조용
|
||||
children?: CodeInfo[];
|
||||
}
|
||||
|
||||
export interface CreateCategoryRequest {
|
||||
@@ -61,6 +67,7 @@ export interface CreateCodeRequest {
|
||||
codeNameEng?: string;
|
||||
description?: string;
|
||||
sortOrder?: number;
|
||||
parentCodeValue?: string; // 계층구조: 부모 코드값
|
||||
}
|
||||
|
||||
export interface UpdateCodeRequest {
|
||||
@@ -69,6 +76,7 @@ export interface UpdateCodeRequest {
|
||||
description?: string;
|
||||
sortOrder?: number;
|
||||
isActive?: "Y" | "N"; // 백엔드에서 기대하는 문자열 타입
|
||||
parentCodeValue?: string; // 계층구조: 부모 코드값
|
||||
}
|
||||
|
||||
export interface CodeOption {
|
||||
|
||||
Reference in New Issue
Block a user