8b73674b创建于 2021年4月28日历史提交
import { Observable } from 'rxjs';

export interface GanttSource {
  id?: string;
  title?: string;
  ganttType?: string;
  firstName?: string;
  lastName?: string;
  gender?: string;
  detail?: string;
  $checked?: boolean;
  $expandConfig?: any;
  children?: any;
  startDate?: Date;
  endDate?: Date;
  ganttBarPositionOffset?: number;
  ganttBarWidth?: number;
  status?: string;
  progressRate?: number;
  $isChildTableOpen?: boolean;
  progressDisabled?: boolean;
}

export abstract class GanttData {
  abstract getGantts(): Observable<GanttSource[]>;
  abstract getGanttYear(): number;
}