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::PeriodicInvoicesConfig;
7 use base qw(SL::DB::Object);
9 __PACKAGE__->meta->setup(
10 table => 'periodic_invoices_configs',
13 id => { type => 'integer', not_null => 1, sequence => 'id' },
14 oe_id => { type => 'integer', not_null => 1 },
15 periodicity => { type => 'varchar', length => 10, not_null => 1 },
16 print => { type => 'boolean', default => 'false' },
17 printer_id => { type => 'integer' },
18 copies => { type => 'integer' },
19 active => { type => 'boolean', default => 'true' },
20 start_date => { type => 'date' },
21 ar_chart_id => { type => 'integer', not_null => 1 },
22 terminated => { type => 'boolean', default => 'false' },
23 end_date => { type => 'date' },
24 extend_automatically_by => { type => 'integer' },
27 primary_key_columns => [ 'id' ],
31 class => 'SL::DB::Chart',
32 key_columns => { ar_chart_id => 'id' },
36 class => 'SL::DB::Order',
37 key_columns => { oe_id => 'id' },
41 class => 'SL::DB::Printer',
42 key_columns => { printer_id => 'id' },