export interface IIncident {
  id: string;
  vehicule: string;
  typeSinistre: string;
  dateSinistre: string;
  statut: StatutSinistre;
  isActive: boolean;
  driver: string;
  observation?:string;
  constat?: string
  envoiDeclaration?: string
  dateDeclaration?: string
  dateCloture?: string
  montantFranchise?: number
  numeroDossier?: string
}

export enum StatutSinistre {
  EnCours = 'en_cours',
  Resolu = 'resolu',
  EnAttenteDePieces = 'en_attente',
  Reparation = 'reparation',
}

export enum EnvoiDeclaration {
  COURRIEL = "COURRIEL",
  MAIL = "MAIL",
}

export interface ITypeIncident {
  id: string;
  intitule: string;
  isActive: boolean;
  observation?: string;
}
