da0981799cede753964cf8f9e4da664b9c1877e2
[kivitendo-erp.git] / SL / DB / MetaSetup / SepaExport.pm
1 # This file has been auto-generated. Do not modify it; it will be overwritten
2 # by rose_auto_create_model.pl automatically.
3 package SL::DB::SepaExport;
4
5 use strict;
6
7 use base qw(SL::DB::Object);
8
9 __PACKAGE__->meta->setup(
10   table   => 'sepa_export',
11
12   columns => [
13     id          => { type => 'serial', not_null => 1 },
14     employee_id => { type => 'integer', not_null => 1 },
15     executed    => { type => 'boolean', default => 'false' },
16     closed      => { type => 'boolean', default => 'false' },
17     itime       => { type => 'timestamp', default => 'now()' },
18     vc          => { type => 'varchar', length => 10 },
19   ],
20
21   primary_key_columns => [ 'id' ],
22
23   allow_inline_column_values => 1,
24
25   foreign_keys => [
26     employee => {
27       class       => 'SL::DB::Employee',
28       key_columns => { employee_id => 'id' },
29     },
30   ],
31 );
32
33 1;
34 ;