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::Dunning;
7 use base qw(SL::DB::Object);
9 __PACKAGE__->meta->setup(
13 id => { type => 'integer', not_null => 1, sequence => 'id' },
14 trans_id => { type => 'integer' },
15 dunning_id => { type => 'integer' },
16 dunning_level => { type => 'integer' },
17 transdate => { type => 'date' },
18 duedate => { type => 'date' },
19 fee => { type => 'numeric', precision => 5, scale => 15 },
20 interest => { type => 'numeric', precision => 5, scale => 15 },
21 dunning_config_id => { type => 'integer' },
22 itime => { type => 'timestamp', default => 'now()' },
23 mtime => { type => 'timestamp' },
24 fee_interest_ar_id => { type => 'integer' },
27 primary_key_columns => [ 'id' ],
29 allow_inline_column_values => 1,
33 class => 'SL::DB::DunningConfig',
34 key_columns => { dunning_config_id => 'id' },
38 class => 'SL::DB::Invoice',
39 key_columns => { fee_interest_ar_id => 'id' },