BankAccount.ts 502 B

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