export interface ReportFlags {
  constructSumType?: string | null;
  taxType?: string | null;
  auditType?: string | null;
  rptTplType?:string| null;
}

export interface ReportSubTree {
  UUID: string;
  nodeType: number;
  refId: number;
  name: string;
  ID: number;
  released: boolean;
  items: ReportSubTree[] | null;
  flags?: ReportFlags;
}
export interface ReportTree {
  UUID: string;
  compilationId: string;
  userId: string;
  released: boolean;
  isDeleted: boolean;
  name: string;
  items: ReportSubTree[] | null;
  flags?: {
    constructSumType?: string | null;
    taxType?: string | null;
    auditType?: string | null;
  };
}

// 汇总项目信息
export interface Summary {
  compilationIllustration: string;
  name: string;
}
// 汇总项目明细
export interface SummaryDetail {
  buildingArea: string;
  charge: number;
  engineeringCost: number;
  estimate: number;
  measure: number;
  name: string;
  other: number;
  perCost: string;
  rate: number;
  safetyConstruction: number;
  subEngineering: number;
  tax: number;
}
