JobPosting.ts 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. import ApiModel from "~/models/ApiModel";
  2. import {Uid, Str, Bool, Attr} from "pinia-orm/dist/decorators";
  3. /**
  4. * Maestro Model : JobPosting
  5. *
  6. * @see https://gitlab.2iopenservice.com/opentalent/maestro/-/blob/master/src/Entity/JobPosting/JobPosting.php?ref_type=heads
  7. */
  8. export default class JobPosting extends ApiModel {
  9. static entity = 'job_postings'
  10. @Uid()
  11. declare id: number
  12. @Str(null)
  13. declare type: string | null
  14. @Str(null)
  15. declare contractType: string | null
  16. @Str(null)
  17. declare title: string | null
  18. @Str(null)
  19. declare startPublication: string | null
  20. @Str(null)
  21. declare updatedAt: string | null
  22. @Str(null)
  23. declare endPublication: string | null
  24. @Str(null)
  25. declare city: string | null
  26. @Str(null)
  27. declare postalCode: string | null
  28. @Str(null)
  29. declare content: string | null
  30. @Bool(false)
  31. declare featured: boolean
  32. @Attr([])
  33. declare sector: string | null[]
  34. @Attr([])
  35. declare tags: any[]
  36. @Str(null)
  37. declare structureName: string | null
  38. @Str(null)
  39. declare structureNameText: any
  40. @Str(null)
  41. declare structureInfo: string | null
  42. @Bool(false)
  43. declare clientOpentalent: boolean
  44. @Bool(false)
  45. declare visible: boolean
  46. }