/**
 * DTO for budget analysis results
 */
export class BudgetAnalysisDto {
  taskId: string;
  allocatedTokens: number;
  usedTokens: number;
  remainingTokens: number;
  utilizationPercentage: number;
  suspiciousPattern: boolean;
  suspiciousReason: string | null;
  recommendation: "accept" | "continue" | "review";

  constructor(data: {
    taskId: string;
    allocatedTokens: number;
    usedTokens: number;
    remainingTokens: number;
    utilizationPercentage: number;
    suspiciousPattern: boolean;
    suspiciousReason: string | null;
    recommendation: "accept" | "continue" | "review";
  }) {
    this.taskId = data.taskId;
    this.allocatedTokens = data.allocatedTokens;
    this.usedTokens = data.usedTokens;
    this.remainingTokens = data.remainingTokens;
    this.utilizationPercentage = data.utilizationPercentage;
    this.suspiciousPattern = data.suspiciousPattern;
    this.suspiciousReason = data.suspiciousReason;
    this.recommendation = data.recommendation;
  }
}
