ContactPoint.ts 862 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import ApiModel from "~/models/ApiModel";
  2. import {Str, Uid, Attr} from "pinia-orm/dist/decorators";
  3. /**
  4. * AP2i Model : ContactPoint
  5. *
  6. * @see https://gitlab.2iopenservice.com/opentalent/ap2i/-/blob/develop/src/Entity/Core/ContactPoint.php
  7. */
  8. export class ContactPoint extends ApiModel {
  9. static entity = 'contact_points'
  10. @Uid()
  11. declare id: number | string | null
  12. @Str('PRINCIPAL')
  13. declare contactType: string
  14. @Str(null)
  15. declare email: string|null
  16. @Str(null)
  17. declare emailInvalid: string|null
  18. @Str(null)
  19. declare telphone: string|null
  20. @Str(null)
  21. declare telphoneInvalid: string|null
  22. @Str(null)
  23. declare mobilPhone: string|null
  24. @Str(null)
  25. declare mobilPhoneInvalid: string|null
  26. @Str(null)
  27. declare faxNumber: string|null
  28. @Str(null)
  29. declare faxNumberInvalid: string|null
  30. @Attr([])
  31. declare organization: []
  32. }