export class JobListing {
  public id: number | null = null;
  public companyID: number = 0;
  public title: string = "";
  public postalCode: string = "";
  public country: string = "";
  public stateOrRegion: string = "";
  public city: string = "";
  public salaryMin: number = 0;
  public salaryMax: number = 0;
  public jobType: string = "";
  public remote: boolean = false;
  public description: string = "";
  public skills: JobListingSkills[] = [];
  public createdTime: Date = new Date();
  public modifiedTime: Date = new Date();
  public isDeleted: boolean = false;
  public trackUUID: string = crypto.randomUUID();
}

export class JobListingSkills {
  public id: number | null = null;
  public jobListingID: number = 0;
  public name: string = "";
  public description: string = "";
  public trackUUID: string = crypto.randomUUID();
}