145 lines
3.9 KiB
TypeScript
145 lines
3.9 KiB
TypeScript
import type { PageableList, PageableParams } from "@/shared/model";
|
|
|
|
/**
|
|
* 행정구역(시도·시군구) 콤보 응답 DTO
|
|
*/
|
|
export interface AdstZoneResponseDto {
|
|
/** 행정구역 코드 */
|
|
adstCd: string;
|
|
/** 행정구역 명 */
|
|
adstNm: string;
|
|
}
|
|
|
|
/**
|
|
* 분석 현황 마스터 응답 DTO
|
|
*/
|
|
export interface StAnlsMstResponseDto {
|
|
/** 분석번호 */
|
|
anlsSn: number;
|
|
/** 분석실행일시 (yyyy-MM-dd HH:mm:ss) */
|
|
anlsBgngDt: string;
|
|
/** 분석종료일시 (yyyy-MM-dd HH:mm:ss) */
|
|
anlsEndDt: string | null;
|
|
/** 분석상태코드 */
|
|
anlsSttsCd: string;
|
|
/** 분석상태코드명 */
|
|
anlsSttsNm: string;
|
|
/** 정상건수 */
|
|
nmlDataNocs: number;
|
|
/** 제외건수 */
|
|
exclDataNocs: number;
|
|
/** 이상건수 */
|
|
otlrDataNocs: number;
|
|
/** 작업UUID */
|
|
jobUuid: string;
|
|
/** 등록일시 (yyyy-MM-dd HH:mm:ss) */
|
|
regDt: string;
|
|
/** 등록자 */
|
|
rgtr: string;
|
|
/** 등록자명 */
|
|
rgtrNm: string;
|
|
/** 오류메세지내용 */
|
|
errMsgCn?: string;
|
|
/** 통계년도 */
|
|
statsYr: string;
|
|
/** 검증대상명 */
|
|
vrfcTrgtNm: string;
|
|
/** 분석진행비율 */
|
|
anlsPrgrsRt: number | null;
|
|
/** 하수도사업자코드 */
|
|
sewerBzmnCd: string;
|
|
/** 통계코드 */
|
|
statsCd: string;
|
|
/** 검증방법코드 */
|
|
vrfcMthdCd: string;
|
|
/** 확정건수/총건수 (예: 3/10) */
|
|
cfmtnYnCntTotalCnt: string;
|
|
}
|
|
|
|
/**
|
|
* IMR 분석 현황 마스터 응답 DTO
|
|
*/
|
|
export interface StAnlsMstImrResponseDto extends StAnlsMstResponseDto {
|
|
/** 하수도사업자명 */
|
|
sewerBzmnNm: string;
|
|
}
|
|
|
|
/**
|
|
* 분석 현황 마스터 검색 DTO
|
|
*/
|
|
export interface StAnlsMstSearchDto extends PageableParams {
|
|
/** 분석상태코드 (COMPLETED, FAILED, QUEUED, PROCESSING) */
|
|
anlsSttsCd?: string;
|
|
/** 작업UUID */
|
|
jobUuid?: string;
|
|
/** 통계년도 */
|
|
statsYr?: string;
|
|
/** 검증대상명 */
|
|
vrfcTrgtNm?: string;
|
|
/** 하수도사업자코드 */
|
|
sewerBzmnCd?: string;
|
|
/** 통계코드 */
|
|
statsCd?: string;
|
|
/** 검증방법코드 */
|
|
vrfcMthdCd?: string;
|
|
/** 검증일시 시작 (yyyy-MM-dd) */
|
|
verifyDtStart?: string;
|
|
/** 검증일시 종료 (yyyy-MM-dd) */
|
|
verifyDtEnd?: string;
|
|
}
|
|
|
|
/**
|
|
* 분석 이상치 상세 데이터 응답 DTO
|
|
*/
|
|
export interface StAnlsOutlierDataResponseDto {
|
|
/** 결과 일련번호 */
|
|
rsltSn: number;
|
|
/** 검증 대상 일련번호 */
|
|
vrfcTrgtSn: number;
|
|
/** 행정구역 코드 */
|
|
admdstCd: string;
|
|
/** 시도 */
|
|
sido: string;
|
|
/** 시군구 */
|
|
gugun: string;
|
|
/** 행정동 */
|
|
adstDong: string;
|
|
/** 시설명 */
|
|
fcltNm: string;
|
|
/** 주소 */
|
|
addr: string;
|
|
/** 당해년도 값 */
|
|
cryrVl: number;
|
|
/** 이상치 변환 비율 */
|
|
otlrTrsfRt: number;
|
|
}
|
|
|
|
/**
|
|
* 분석 순번별 이상치 분석항목 응답 DTO
|
|
*/
|
|
export interface StAnlsOutlierListResponseDto {
|
|
/** 분석번호 */
|
|
anlsSn: number;
|
|
/** 검증 대상 일련번호 */
|
|
vrfcTrgtSn: number;
|
|
/** 검증대상명 */
|
|
vrfcTrgtNm: string;
|
|
/** 정상건수 */
|
|
nmlDataNocs: number;
|
|
/** 제외건수 */
|
|
exclDataNocs: number;
|
|
/** 이상건수 */
|
|
otlrDataNocs: number;
|
|
/** 이상치 상세 데이터 목록 */
|
|
outlierDataList: StAnlsOutlierDataResponseDto[];
|
|
}
|
|
|
|
export type StAnlsMstResponse = StAnlsMstResponseDto;
|
|
export type StAnlsMstImrResponse = StAnlsMstImrResponseDto;
|
|
export type StAnlsMstSearchParams = StAnlsMstSearchDto;
|
|
export type StAnlsOutlierDataResponse = StAnlsOutlierDataResponseDto;
|
|
export type StAnlsOutlierListResponse = StAnlsOutlierListResponseDto;
|
|
|
|
export type StAnlsMstListApiResponse = PageableList<StAnlsMstResponseDto>;
|
|
export type StAnlsMstImrListApiResponse = PageableList<StAnlsMstImrResponseDto>;
|