BankAccount.ts 645 B

1234567891011121314151617181920212223242526272829303132333435
  1. import {Str, Bool, Model, Uid, Attr} from '@vuex-orm/core'
  2. export class BankAccount extends Model {
  3. static entity = 'bank_accounts'
  4. @Uid()
  5. id!: number | string | null
  6. @Str(null, { nullable: true })
  7. bankName!: string
  8. @Str(null, { nullable: true })
  9. bic!: string
  10. @Str(null, { nullable: true })
  11. bicInvalid!: string
  12. @Str(null, { nullable: true })
  13. iban!: string
  14. @Str(null, { nullable: true })
  15. ibanInvalid!: string
  16. @Str(null, { nullable: true })
  17. debitAddress!: string
  18. @Str(null, { nullable: true })
  19. holder!: string
  20. @Bool(false, { nullable: false })
  21. principal!: boolean
  22. @Attr([])
  23. organization!: []
  24. }