package com.eactive.ext.kjb.statistics.ui;

import java.math.BigDecimal;

import lombok.Data;

/**
 * API 통계 UI DTO (분단위/시간별 공통)
 */
@Data
public class ApiStatsUI {
	private String statTime;
	private String apiName;
	private String gwInstanceId;
	private String bizDivCode;
	private String clientId;
	private String orgName;
	private String inboundAdapter;
	private String outboundAdapter;

	// 건수 메트릭
	private Long totalCnt;
	private Long successCnt;
	private Long timeoutCnt;
	private Long systemErrCnt;

	// 응답시간 메트릭
	private BigDecimal avgRespTime;
	private BigDecimal minRespTime;
	private BigDecimal maxRespTime;
	
	//성공율,실패율
	private BigDecimal successRate;
	private BigDecimal failRate;
}
