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