import {Attr, Str, Bool, Num} from '@vuex-orm/core' import {Model} from '@/models/Model' export class BankAccount extends Model{ static entity = 'bank_accounts' @Attr(null) id!: number | null @Str('', {nullable: true}) bankName!: string @Str('', {nullable: true}) bic!: string @Str('', {nullable: true}) iban!: string @Str('', {nullable: true}) debitAddress!: string @Str('', {nullable: true}) holder!: string @Bool(false, {nullable: false}) principal!: boolean }