JobApplication.ts 733 B

1234567891011121314151617181920212223242526272829303132333435
  1. import ApiModel from "~/models/ApiModel";
  2. import {Uid, Str, Bool, Attr} from "pinia-orm/dist/decorators";
  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. }