ContactPoint.ts 771 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. import {Str, Model, Uid, Attr} from '@vuex-orm/core'
  2. export class ContactPoint extends Model {
  3. static entity = 'contact_points'
  4. @Uid()
  5. id!: number | string | null
  6. @Str('PRINCIPAL', { nullable: false })
  7. contactType!: string
  8. @Str(null, { nullable: true })
  9. email!: string|null
  10. @Str(null, { nullable: true })
  11. emailInvalid!: string|null
  12. @Str(null, { nullable: true })
  13. telphone!: string|null
  14. @Str(null, { nullable: true })
  15. telphoneInvalid!: string|null
  16. @Str(null, { nullable: true })
  17. mobilPhone!: string|null
  18. @Str(null, { nullable: true })
  19. mobilPhoneInvalid!: string|null
  20. @Str(null, { nullable: true })
  21. faxNumber!: string|null
  22. @Str(null, { nullable: true })
  23. faxNumberInvalid!: string|null
  24. @Attr([])
  25. organization!: []
  26. }