cd2152bedba059930dd1b9431db93782ca92c98a
[kivitendo-erp.git] / SL / DB / MetaSetup / SepaExportItem.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::SepaExportItem;
4
5 use strict;
6
7 use base qw(SL::DB::Object);
8
9 __PACKAGE__->meta->setup(
10   table   => 'sepa_export_items',
11
12   columns => [
13     id                       => { type => 'integer', not_null => 1, sequence => 'id' },
14     sepa_export_id           => { type => 'integer', not_null => 1 },
15     ap_id                    => { type => 'integer' },
16     chart_id                 => { type => 'integer', not_null => 1 },
17     amount                   => { type => 'numeric', precision => 5, scale => 25 },
18     reference                => { type => 'varchar', length => 35 },
19     requested_execution_date => { type => 'date' },
20     executed                 => { type => 'boolean', default => 'false' },
21     execution_date           => { type => 'date' },
22     our_iban                 => { type => 'varchar', length => 100 },
23     our_bic                  => { type => 'varchar', length => 100 },
24     vc_iban                  => { type => 'varchar', length => 100 },
25     vc_bic                   => { type => 'varchar', length => 100 },
26     end_to_end_id            => { type => 'varchar', length => 35 },
27     ar_id                    => { type => 'integer' },
28   ],
29
30   primary_key_columns => [ 'id' ],
31
32   foreign_keys => [
33     ap => {
34       class       => 'SL::DB::PurchaseInvoice',
35       key_columns => { ap_id => 'id' },
36     },
37
38     ar => {
39       class       => 'SL::DB::Invoice',
40       key_columns => { ar_id => 'id' },
41     },
42
43     chart => {
44       class       => 'SL::DB::Chart',
45       key_columns => { chart_id => 'id' },
46     },
47
48     sepa_export => {
49       class       => 'SL::DB::SepaExport',
50       key_columns => { sepa_export_id => 'id' },
51     },
52   ],
53 );
54
55 1;
56 ;