import type { ContractType } from './contract'

export type ContractPhase = {
  id: number
  contractType: ContractType
  weeklyHours: number | null
  isDriver: boolean
  startDate: string
  endDate: string | null
  periodIds: number[]
  isCurrent: boolean
  contractNature: 'CDI' | 'CDD' | 'INTERIM'
}
