ContactPoint.ts 675 B

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