BankAccount.ts 474 B

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