export interface JobDetailInterface{
  id: string;
  position: string;
  title: string;
  descriptionIntro: string;
  jobTypes: number[];
  workTimes: number[];
  companyName: string;
  descriptionCompany: string;
  descriptionPosition: string;
  website: string;
  descriptionCandidate: string;
  experiences: JobDetailExperienceInterface[];
  educations: JobDetailEducationInterface[];
  skills: JobDetailSkillInterface[];
  certificates: JobDetailCertificateInterface[];
  languages: JobDetailLanguageInterface[];
  driversLicenses: JobDetailDriversLicenseInterface[];
  salary: number;
  salaryType: number;
  descriptionOffer: string;
  fromDate: Date;
  toDate: Date;
  fromTime: string;
  toTime: string;
  applicationDeadline: Date;
  interviewsFrom: Date;
  interviewsTo: Date;
  numberOfPositions: number;
  appliedJob?: boolean;
  appliedJobId?: string;
}

export interface JobDetailExperienceInterface{
  id: string;
  occupationId: string;
  occupationName: string;
  numberOfYears: number;
  latest: object;
}

export interface JobDetailEducationInterface{
  name: string;
  ended: string | number;
}

export interface JobDetailSkillInterface{
  name: string;
  requiredLevel: number | string;
}

export interface JobDetailCertificateInterface{
  name: string;
  requiredLevel: string | number;
}

export interface JobDetailLanguageInterface{
  name: string;
  requiredLevel: number | string;
}

export interface JobDetailDriversLicenseInterface{
  name: string;
  requiredExperience: string | number;
}
