export interface GetHistoryListParams {
  pageNum: number;
  pageSize: number;
  searchKey?: string;
  stage?: boolean;
}
export interface GetHistoryListResponse {
  total: number;
  records: HistoryItem[];
}
export interface HistoryItem extends Required<AddHistoryParams> {
  id: number;
}

export interface HistoryDictItem {
  name: string;
  id: number;
  display: number;
}

export interface AddHistoryParams {
  name: string;
  stage: number;
  companyName?: string;
  description?: string;
  story?: string;
  fileIds?: string;
}

export interface GetHistoryDetailResponse {
  entity: HistoryItem;
  file: {
    id: number;
    filePath: string;
    fileName: string;
  }[];
}
