9b5c969a911e1616ae8ec1649b88482edc4e807f
[kivitendo-erp.git] / SL / DB / MetaSetup / ReconciliationLink.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::ReconciliationLink;
4
5 use strict;
6
7 use base qw(SL::DB::Object);
8
9 __PACKAGE__->meta->table('reconciliation_links');
10
11 __PACKAGE__->meta->columns(
12   acc_trans_id        => { type => 'bigint', not_null => 1 },
13   bank_transaction_id => { type => 'integer', not_null => 1 },
14   id                  => { type => 'integer', not_null => 1, sequence => 'id' },
15   rec_group           => { type => 'integer', not_null => 1 },
16 );
17
18 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
19
20 __PACKAGE__->meta->foreign_keys(
21   acc_trans => {
22     class       => 'SL::DB::AccTransaction',
23     key_columns => { acc_trans_id => 'acc_trans_id' },
24   },
25
26   bank_transaction => {
27     class       => 'SL::DB::BankTransaction',
28     key_columns => { bank_transaction_id => 'id' },
29   },
30 );
31
32 1;
33 ;