/**
 * Representa a estrutura de dados de um motorista no sistema.
 */
export interface Driver {
    id: string;
    name: string;
    email: string;
    phone: string;
    gender: string;
    birth_date: string;
    type: 'Individual' | 'Business'; 
    avatar: string;
    driver_license_category?: string | string[];
    driver_license_due_date?: string;
    driver_license_issue_date?: string;
    driver_license_first_issue_date?: string; 
    driver_license_number?: string;        
    cpf?: string;
    cnpj?: string;
    father_name?: string;
    mother_name?: string;
    pix_key?: string;
    address_cep?: string;
    address_neighborhood?: string;    
    address_city?: string;
    address_uf?: string;
    address_street?: string;
    address_number?: string;
    address_complement?: string;
    notes?: string;    
    personId?: number; 
    locationPersonId?: number;
    contractId : number;
    contract_type?: string;

    photoIds?: string[];
    licenseIds?: string[];    

    status?: DriverStatus;

    address_latitude?: string;
    address_longitude?: string;
}

export interface DriverStatus {
  Active: string,
  OnDuty: string,
  Driving: string,
  OnLeave: string,
  Training: string,
  Inactive: string,
  UnderReview: string,
  OutOfService: string,
  Terminated: string,
  Vacation: string,
}
