// 隐患上报相关类型定义

export interface DangerReport {
  id: number
  discoverer: string
  discoverTime: Date
  location: string
  description: string
  safetyOfficer: string
  status: string
  images: DangerImage[]
  createTime: string
}

export interface DangerImage {
  url: string
  name: string
}

export interface SearchForm {
  discoverer: string
  safetyOfficer: string
  dateRange: string[]
  status: string
}

export interface Pagination {
  current: number
  size: number
  total: number
}

export interface SafetyOfficer {
  label: string
  value: string
}

export interface FormData {
  id: string
  discoverer: string
  discoverTime:  Date
  location: string
  description: string
  safetyOfficer: string
  status: 'pending' | 'processing' | 'completed' | 'closed'
  images: DangerImage[]
}
