ContactRequest.ts 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. import { Uid, Str, Bool } from 'pinia-orm/dist/decorators'
  2. import ApiModel from '~/models/ApiModel'
  3. /**
  4. * Maestro Model : ContactRequest
  5. *
  6. * @see https://gitlab.2iopenservice.com/opentalent/maestro/-/blob/master/src/ApiResource/ContactRequest.php?ref_type=heads
  7. */
  8. export default class ContactRequest extends ApiModel {
  9. static entity = 'contact_request'
  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 email: string | null
  18. @Str(null)
  19. declare structureName: string | null
  20. @Str(null)
  21. declare message: string | null
  22. @Bool(false)
  23. declare privacyPolicyAccepted: boolean
  24. @Str(null)
  25. declare gender: string | null
  26. @Str(null)
  27. declare postalCode: string | null
  28. @Str(null)
  29. declare city: string | null
  30. @Str(null)
  31. declare phone: string | null
  32. @Str(null)
  33. declare requestType: string | null
  34. @Str(null)
  35. declare concernedProduct: string | null
  36. @Bool(false)
  37. declare newsletterSubscription: boolean
  38. }