JobApplication.ts 784 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. import { Uid, Str, Attr, Num } from 'pinia-orm/dist/decorators'
  2. import ApiModel from '~/models/ApiModel'
  3. /**
  4. * Maestro Model : JobApplication
  5. *
  6. * @see https://gitlab.2iopenservice.com/opentalent/maestro/-/blob/master/src/ApiResources/JobApplication.php?ref_type=heads
  7. */
  8. export default class JobApplication extends ApiModel {
  9. static entity = 'job_application'
  10. @Uid()
  11. declare id: number
  12. @Str(null)
  13. declare name: string | null
  14. @Str(null)
  15. declare surname: string | null
  16. @Str(null)
  17. declare phone: string | null
  18. @Str(null)
  19. declare email: string | null
  20. @Attr(null)
  21. declare resume: object | null
  22. @Attr(null)
  23. declare motivationLetter: object | null
  24. @Str(null)
  25. declare message: string | null
  26. @Num(null)
  27. declare jobPostingId: number | null
  28. }