kivitendo/SL/DB/MetaSetup/TaxzoneChart.pm @ 324726ac
b989d7cf | Geoffrey Richardson | # This file has been auto-generated. Do not modify it; it will be overwritten
|
||
# by rose_auto_create_model.pl automatically.
|
||||
package SL::DB::TaxzoneChart;
|
||||
use strict;
|
||||
2ea07c13 | Sven Schöling | use parent qw(SL::DB::Object);
|
||
b989d7cf | Geoffrey Richardson | |||
__PACKAGE__->meta->table('taxzone_charts');
|
||||
__PACKAGE__->meta->columns(
|
||||
buchungsgruppen_id => { type => 'integer', not_null => 1 },
|
||||
expense_accno_id => { type => 'integer', not_null => 1 },
|
||||
e3c9027e | Geoffrey Richardson | id => { type => 'serial', not_null => 1 },
|
||
income_accno_id => { type => 'integer', not_null => 1 },
|
||||
b989d7cf | Geoffrey Richardson | itime => { type => 'timestamp', default => 'now()' },
|
||
e3c9027e | Geoffrey Richardson | taxzone_id => { type => 'integer', not_null => 1 },
|
||
b989d7cf | Geoffrey Richardson | );
|
||
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
|
||||
__PACKAGE__->meta->allow_inline_column_values(1);
|
||||
__PACKAGE__->meta->foreign_keys(
|
||||
buchungsgruppen => {
|
||||
class => 'SL::DB::Buchungsgruppe',
|
||||
key_columns => { buchungsgruppen_id => 'id' },
|
||||
},
|
||||
expense_accno => {
|
||||
class => 'SL::DB::Chart',
|
||||
key_columns => { expense_accno_id => 'id' },
|
||||
},
|
||||
income_accno => {
|
||||
class => 'SL::DB::Chart',
|
||||
key_columns => { income_accno_id => 'id' },
|
||||
},
|
||||
078c9769 | Geoffrey Richardson | taxzone => {
|
||
class => 'SL::DB::TaxZone',
|
||||
key_columns => { taxzone_id => 'id' },
|
||||
},
|
||||
);
|
||||
b989d7cf | Geoffrey Richardson | |||
1;
|
||||
;
|