34 lines
710 B
Java
34 lines
710 B
Java
|
|
package com.snp.batch.global.dto;
|
||
|
|
|
||
|
|
import lombok.AllArgsConstructor;
|
||
|
|
import lombok.Builder;
|
||
|
|
import lombok.Data;
|
||
|
|
import lombok.NoArgsConstructor;
|
||
|
|
|
||
|
|
import java.util.List;
|
||
|
|
|
||
|
|
@Data
|
||
|
|
@Builder
|
||
|
|
@NoArgsConstructor
|
||
|
|
@AllArgsConstructor
|
||
|
|
public class ExecutionStatisticsDto {
|
||
|
|
|
||
|
|
private List<DailyStat> dailyStats;
|
||
|
|
private int totalExecutions;
|
||
|
|
private int totalSuccess;
|
||
|
|
private int totalFailed;
|
||
|
|
private double avgDurationMs;
|
||
|
|
|
||
|
|
@Data
|
||
|
|
@Builder
|
||
|
|
@NoArgsConstructor
|
||
|
|
@AllArgsConstructor
|
||
|
|
public static class DailyStat {
|
||
|
|
private String date;
|
||
|
|
private int successCount;
|
||
|
|
private int failedCount;
|
||
|
|
private int otherCount;
|
||
|
|
private double avgDurationMs;
|
||
|
|
}
|
||
|
|
}
|