// 보고서 및 분석 타입 정의

// 체크포인트 타입
export interface CheckPoint {
  id: string;
  type: 'success' | 'warning' | 'error' | 'info';
  message: string;
  highlight?: string;
}

// 금액 카드 타입
export interface AmountCard {
  id: string;
  label: string;
  amount: number;
  subAmount?: number;
  subLabel?: string;
  previousAmount?: number;
  previousLabel?: string;
}

// 오늘의 이슈 아이템
export interface TodayIssueItem {
  id: string;
  category: string;
  description: string;
  requiresApproval: boolean;
  time: string; // 시간 설정값
}

// 오늘의 이슈 섹션
export interface TodayIssueSection {
  filterOptions: string[];
  items: TodayIssueItem[];
}

// 당월 예상 지출 내역 섹션
export interface MonthlyExpenseSection {
  cards: AmountCard[];
  checkPoints: CheckPoint[];
}

// 카드/가지급금 관리 섹션
export interface CardManagementSection {
  cards: AmountCard[];
  checkPoints: CheckPoint[];
}

// 접대비 현황 섹션
export interface EntertainmentSection {
  cards: AmountCard[];
  checkPoints: CheckPoint[];
}

// 복리후생비 현황 섹션
export interface WelfareSection {
  cards: AmountCard[];
  checkPoints: CheckPoint[];
}

// 미수금 현황 섹션
export interface ReceivableSection {
  cards: AmountCard[];
  checkPoints: CheckPoint[];
  hasDetailButton: boolean;
  detailButtonLabel: string;
  detailButtonPath: string;
}

// 채권추심 현황 섹션
export interface DebtCollectionSection {
  cards: AmountCard[];
  checkPoints: CheckPoint[];
}

// 종합 경영 분석 데이터
export interface ComprehensiveAnalysisData {
  todayIssue: TodayIssueSection;
  monthlyExpense: MonthlyExpenseSection;
  cardManagement: CardManagementSection;
  entertainment: EntertainmentSection;
  welfare: WelfareSection;
  receivable: ReceivableSection;
  debtCollection: DebtCollectionSection;
}