X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/ceef2f6e064b545522595546f975248c64c04c63..36927d8104524417b388021e598db886ae1569c2:/SL/DB/PartsGroup.pm diff --git a/SL/DB/PartsGroup.pm b/SL/DB/PartsGroup.pm index d6122949c..4a7f607f4 100644 --- a/SL/DB/PartsGroup.pm +++ b/SL/DB/PartsGroup.pm @@ -14,6 +14,11 @@ __PACKAGE__->meta->add_relationship( type => 'many to many', map_class => 'SL::DB::CustomVariableConfigPartsgroup', }, + parts => { + type => 'one to many', + class => 'SL::DB::Part', + column_map => { id => 'partsgroup_id' }, + }, ); __PACKAGE__->meta->initialize;