import type { PageableParams, PageResponse } from "@/shared/model"; /** 필수첨부파일관리 트리 조회 응답 DTO */ export interface EsntlAtchFileMngTreeResponseDto { /** 필수첨부파일아이디 */ esntlAtchFileId: string; /** 문서구분공통코드 */ docSeComCd: string; /** 필수첨부파일명 */ esntlAtchFileNm: string; /** 필수첨부여부 ("Y" | "N") */ esntlAtchYn: "Y" | "N"; /** 필수첨부파일비고 (파일형식 등) */ esntlAtchFileRmrk: string; } /** 필수첨부파일관리 엔티티 (목록/상세 공용 응답 DTO) */ export interface EsntlAtchFileMng { /** 필수첨부파일아이디 */ esntlAtchFileId: string; /** 문서구분공통코드 */ docSeComCd: string; /** 필수첨부파일명 */ esntlAtchFileNm: string; /** 필수첨부여부 ("Y" | "N") */ esntlAtchYn: "Y" | "N"; /** 필수첨부파일비고 */ esntlAtchFileRmrk?: string; /** 등록자UUID */ rgtr?: string; /** 등록자명 */ rgtrNm?: string; /** 수정자UUID */ mdfr?: string; /** 등록일시 (yyyy-MM-dd HH:mm:ss) */ regDt?: string; /** 수정일시 */ mdfcnDt?: string; } /** 필수첨부파일관리 트리 조회 파라미터 */ export interface EsntlAtchFileMngTreeSearchParams { /** 문서구분공통코드 (예: "INSTL") */ docSeComCd: string; } /** 필수첨부파일관리 목록 조회 파라미터 (페이징 포함) */ export interface EsntlAtchFileMngSearchParams extends PageableParams { /** 문서구분공통코드 (예: "INSTL") */ docSeComCd?: string; /** 필수첨부파일명 */ esntlAtchFileNm?: string; /** 필수첨부여부 ("Y" | "N") */ esntlAtchYn?: "Y" | "N"; } /** 필수첨부파일관리 서비스 인터페이스 */ export interface EsntlAtchFileMngService { /** 필수첨부파일 트리 조회 */ findTree(params: EsntlAtchFileMngTreeSearchParams): Promise; /** 필수첨부파일관리 목록 조회 (페이징) */ findPage(params: EsntlAtchFileMngSearchParams): Promise>; /** 필수첨부파일관리 상세 조회 */ findById(esntlAtchFileId: string): Promise; /** 필수첨부파일관리 등록 */ create(body: EsntlAtchFileMngSaveRequest): Promise; /** 필수첨부파일관리 수정 */ update(esntlAtchFileId: string, body: EsntlAtchFileMngSaveRequest): Promise; /** 필수첨부파일관리 삭제 */ remove(esntlAtchFileId: string): Promise; } /** 필수첨부파일관리 저장 요청 DTO */ export interface EsntlAtchFileMngSaveRequest { /** 문서구분공통코드 */ docSeComCd: string; /** 필수첨부파일명 */ esntlAtchFileNm?: string; /** 필수첨부여부 ("Y" | "N") */ esntlAtchYn?: "Y" | "N"; /** 필수첨부파일비고 */ esntlAtchFileRmrk?: string; }