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::TaxKey;
7 use base qw(SL::DB::Object);
9 __PACKAGE__->meta->table('taxkeys');
11 __PACKAGE__->meta->columns(
12 id => { type => 'integer', not_null => 1, sequence => 'id' },
13 chart_id => { type => 'integer', not_null => 1 },
14 tax_id => { type => 'integer', not_null => 1 },
15 taxkey_id => { type => 'integer', not_null => 1 },
16 pos_ustva => { type => 'integer' },
17 startdate => { type => 'date', not_null => 1 },
20 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
22 __PACKAGE__->meta->unique_keys([ 'chart_id', 'startdate' ]);
24 __PACKAGE__->meta->foreign_keys(
26 class => 'SL::DB::Chart',
27 key_columns => { chart_id => 'id' },
31 class => 'SL::DB::Tax',
32 key_columns => { tax_id => 'id' },
36 # __PACKAGE__->meta->initialize;