package com.zy.ai.service; import lombok.Data; import java.io.Serializable; import java.util.List; public interface DataAnalysisAgentService { DataAnalysisAgentResult runAnalysis(String periodType); @Data class DataAnalysisAgentResult implements Serializable { private static final long serialVersionUID = 1L; private Boolean success; private String periodType; private String triggerType; private String summary; private String structuredData; private Integer toolCallCount; private Integer llmCallCount; private Long promptTokens; private Long completionTokens; private Long totalTokens; private Boolean maxRoundsReached; private List mcpCalls; } @Data class McpCallResult implements Serializable { private static final long serialVersionUID = 1L; private Integer callSeq; private String toolName; private Long durationMs; private String status; private String requestJson; private String responseJson; private String errorMessage; } }