]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/MetaSetup/BankAccount.pm
Merge branch 'b-3.6.1' into mebil
[kivitendo-erp.git] / SL / DB / MetaSetup / BankAccount.pm
index d778138e94cb96e84217f7881a100cf400cf976a..d8367789fa96259cbee0b0eccc37a295be5ffade 100644 (file)
@@ -4,23 +4,26 @@ package SL::DB::BankAccount;
 
 use strict;
 
-use base qw(SL::DB::Object);
+use parent qw(SL::DB::Object);
 
 __PACKAGE__->meta->table('bank_accounts');
 
 __PACKAGE__->meta->columns(
   account_number                  => { type => 'varchar', length => 100 },
   bank                            => { type => 'text' },
+  bank_account_id                 => { type => 'varchar' },
   bank_code                       => { type => 'varchar', length => 100 },
   bic                             => { type => 'varchar', length => 100 },
   chart_id                        => { type => 'integer', not_null => 1 },
   iban                            => { type => 'varchar', length => 100 },
   id                              => { type => 'integer', not_null => 1, sequence => 'id' },
   name                            => { type => 'text' },
-  obsolete                        => { type => 'boolean' },
+  obsolete                        => { type => 'boolean', default => 'false', not_null => 1 },
   reconciliation_starting_balance => { type => 'numeric', precision => 15, scale => 5 },
   reconciliation_starting_date    => { type => 'date' },
   sortkey                         => { type => 'integer', not_null => 1 },
+  use_for_qrbill                  => { type => 'boolean', default => 'false', not_null => 1 },
+  use_for_zugferd                 => { type => 'boolean', default => 'false', not_null => 1 },
 );
 
 __PACKAGE__->meta->primary_key_columns([ 'id' ]);