BankAccount.ts 680 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|null
  8. @Str(null, { nullable: true })
  9. bic!: string|null
  10. @Str(null, { nullable: true })
  11. bicInvalid!: string|null
  12. @Str(null, { nullable: true })
  13. iban!: string|null
  14. @Str(null, { nullable: true })
  15. ibanInvalid!: string|null
  16. @Str(null, { nullable: true })
  17. debitAddress!: string|null
  18. @Str(null, { nullable: true })
  19. holder!: string|null
  20. @Bool(false, { nullable: false })
  21. principal!: boolean
  22. @Attr([])
  23. organization!: []
  24. }