export interface BookItem {
  course_id: string
  course_id_name: string
  created_operator: string
  created_operator_name: string
  created_time: string
  delete_time: string
  experiment_id: string
  experiment_id_name: string
  id: string
  name: string
  pv: string
  size: string
  size_name: string
  status: string
  status_name: string
  type: string
  updated_operator: string
  updated_operator_name: string
  updated_time: string
  url: string
}

export interface BookCreateItem {
  id?: string
  experiment_id: string
  course_id: string
  status: string
  name: string
  type: string
  url: string
  size: string
  protocol: boolean
  files: FileItem[]
}

export interface FileItem {
  name: string
  url: string
  raw?: File
  type?: string
  size?: number
}
