X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3cc8ad871fc62723dbb9879a004a2af49d21bfef..f97b07787db5cacc0f90338fdb3c1237262917cb:/SL/DB/MetaSetup/Prices.pm diff --git a/SL/DB/MetaSetup/Prices.pm b/SL/DB/MetaSetup/Prices.pm new file mode 100644 index 000000000..819d14c6f --- /dev/null +++ b/SL/DB/MetaSetup/Prices.pm @@ -0,0 +1,35 @@ +# This file has been auto-generated. Do not modify it; it will be overwritten +# by rose_auto_create_model.pl automatically. +package SL::DB::Prices; + +use strict; + +use base qw(SL::DB::Object); + +__PACKAGE__->meta->setup( + table => 'prices', + + columns => [ + parts_id => { type => 'integer' }, + pricegroup_id => { type => 'integer' }, + price => { type => 'numeric', precision => 5, scale => 15 }, + id => { type => 'serial', not_null => 1 }, + ], + + primary_key_columns => [ 'id' ], + + foreign_keys => [ + parts => { + class => 'SL::DB::Part', + key_columns => { parts_id => 'id' }, + }, + + pricegroup => { + class => 'SL::DB::Pricegroup', + key_columns => { pricegroup_id => 'id' }, + }, + ], +); + +1; +;