export interface SchemeDetail {
  valve_opening: Record<string, number>;
  drainage_node_ID: string;
  flushing_flow: number;
  duration: number;
}

export interface SchemeRecord {
  id: number;
  schemeName: string;
  type: string;
  username: string;
  create_time: string;
  startTime: string;
  // 详情信息
  schemeDetail?: SchemeDetail;
}

export interface SchemaItem {
  scheme_id: number;
  scheme_name: string;
  scheme_type: string;
  username: string;
  create_time: string;
  scheme_start_time: string;
  scheme_detail?: SchemeDetail;
}
