X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FPeriodicInvoicesConfig.pm;fp=SL%2FDB%2FMetaSetup%2FPeriodicInvoicesConfig.pm;h=ab3a619efc3909c7f5ddb4e7d6cdc9845c99e8bb;hb=250fa402a8394de574f8ede1ce2345cef7f8b31b;hp=0000000000000000000000000000000000000000;hpb=d099ba109329ea13ce350995ddcefe10d065641d;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/PeriodicInvoicesConfig.pm b/SL/DB/MetaSetup/PeriodicInvoicesConfig.pm new file mode 100644 index 000000000..ab3a619ef --- /dev/null +++ b/SL/DB/MetaSetup/PeriodicInvoicesConfig.pm @@ -0,0 +1,45 @@ +# This file has been auto-generated. Do not modify it; it will be overwritten +# by rose_auto_create_model.pl automatically. +package SL::DB::PeriodicInvoicesConfig; + +use strict; + +use base qw(SL::DB::Object); + +__PACKAGE__->meta->setup( + table => 'periodic_invoices_configs', + + columns => [ + id => { type => 'integer', not_null => 1, sequence => 'id' }, + oe_id => { type => 'integer', not_null => 1 }, + periodicity => { type => 'varchar', length => 10, not_null => 1 }, + print => { type => 'boolean', default => 'false' }, + printer_id => { type => 'integer' }, + copies => { type => 'integer' }, + active => { type => 'boolean', default => 'true' }, + start_date => { type => 'date' }, + ar_chart_id => { type => 'integer', not_null => 1 }, + ], + + primary_key_columns => [ 'id' ], + + foreign_keys => [ + ar_chart => { + class => 'SL::DB::Chart', + key_columns => { ar_chart_id => 'id' }, + }, + + oe => { + class => 'SL::DB::Order', + key_columns => { oe_id => 'id' }, + }, + + printer => { + class => 'SL::DB::Printer', + key_columns => { printer_id => 'id' }, + }, + ], +); + +1; +;