export interface Form990ExpenseLineDto {
  id: number;
  lineCode: string;
  name_en: string;
  name_zh: string | null;
  sortOrder: number;
  label?: string;   // bilingual "code — name", filled by service
}

export interface FunctionalExpenseRowDto {
  lineCode: string;
  name_en: string;
  name_zh: string | null;
  program: number;
  managementGeneral: number;
  fundraising: number;
  total: number;
}

export interface FunctionalExpenseStatementDto {
  rows: FunctionalExpenseRowDto[];
  programTotal: number;
  managementGeneralTotal: number;
  fundraisingTotal: number;
  grandTotal: number;
  unmappedExpenseCount: number;
}
