AddressPostal.ts 914 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import { Num, Str, Uid, Attr } from 'pinia-orm/dist/decorators'
  2. import ApiModel from '~/models/ApiModel'
  3. /**
  4. * Ap2i Model : AddressPostal
  5. *
  6. * @see https://gitlab.2iopenservice.com/opentalent/ap2i/-/blob/develop/src/Entity/Core/AddressPostal.php
  7. */
  8. export default class AddressPostal extends ApiModel {
  9. static entity = 'address_postals'
  10. @Uid()
  11. declare id: number | string | null
  12. @Attr(null)
  13. declare organizationAddressPostalId: number | null
  14. @Str(null)
  15. declare addressCountry: string | null
  16. @Str(null)
  17. declare addressCity: string | null
  18. @Str(null)
  19. declare addressOwner: string | null
  20. @Str(null)
  21. declare postalCode: string | null
  22. @Str(null)
  23. declare streetAddress: string | null
  24. @Str(null)
  25. declare streetAddressSecond: string | null
  26. @Str(null)
  27. declare streetAddressThird: string | null
  28. @Num(0)
  29. declare latitude: number
  30. @Num(0)
  31. declare longitude: number
  32. }