87 lines
2.9 KiB
TypeScript
87 lines
2.9 KiB
TypeScript
import type {
|
|
AtflMngClientResponseDto,
|
|
EsntlAtchFileMngTreeResponseDto,
|
|
PageableParams,
|
|
PageResponse,
|
|
} from "@/shared/model";
|
|
|
|
export type { EsntlAtchFileMngTreeResponseDto };
|
|
|
|
/** 필수첨부파일관리 엔티티 (목록/상세 공용 응답 DTO) */
|
|
export interface EsntlAtchFileMng {
|
|
/** 필수첨부파일아이디 */
|
|
esntlAtchFileId: string;
|
|
/** 문서구분공통코드 */
|
|
docSeComCd: string;
|
|
/** 필수첨부파일명 */
|
|
esntlAtchFileNm: string;
|
|
/** 필수첨부여부 ("Y" | "N") */
|
|
esntlAtchYn: "Y" | "N";
|
|
/** 필수첨부파일비고 */
|
|
esntlAtchFileRmrk?: string;
|
|
/** 필수첨부파일검토내용 */
|
|
esntlAtchFileRvwCn?: string;
|
|
/** 첨부파일그룹아이디 (양식파일 그룹) */
|
|
atchFileGroupId?: string;
|
|
/** 첨부파일 목록 (양식파일) */
|
|
atchFileList?: AtflMngClientResponseDto[];
|
|
/** 등록자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<EsntlAtchFileMngTreeResponseDto[]>;
|
|
/** 필수첨부파일관리 목록 조회 (페이징) */
|
|
findPage(params: EsntlAtchFileMngSearchParams): Promise<PageResponse<EsntlAtchFileMng>>;
|
|
/** 필수첨부파일관리 상세 조회 */
|
|
findById(esntlAtchFileId: string): Promise<EsntlAtchFileMng>;
|
|
/** 필수첨부파일관리 등록 */
|
|
create(body: EsntlAtchFileMngSaveRequest): Promise<string>;
|
|
/** 필수첨부파일관리 수정 */
|
|
update(esntlAtchFileId: string, body: EsntlAtchFileMngSaveRequest): Promise<string>;
|
|
/** 필수첨부파일관리 삭제 */
|
|
remove(esntlAtchFileId: string): Promise<string>;
|
|
}
|
|
|
|
/** 필수첨부파일관리 저장 요청 DTO */
|
|
export interface EsntlAtchFileMngSaveRequest {
|
|
/** 문서구분공통코드 */
|
|
docSeComCd: string;
|
|
/** 필수첨부파일명 */
|
|
esntlAtchFileNm?: string;
|
|
/** 필수첨부여부 ("Y" | "N") */
|
|
esntlAtchYn?: "Y" | "N";
|
|
/** 필수첨부파일비고 */
|
|
esntlAtchFileRmrk?: string;
|
|
/** 필수첨부파일검토내용 */
|
|
esntlAtchFileRvwCn?: string;
|
|
/** 첨부파일그룹아이디 (양식파일 그룹) */
|
|
atchFileGroupId?: string;
|
|
}
|