X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FPartsGroup.pm;h=4a7f607f45da956776e1a11ac0aced0d06cea1ac;hb=1f2a5b4c5f9ed16e455971d139cf5a1a14212228;hp=d6122949ce8c67227b4fea5e4d89b21ba553a350;hpb=9c785acd332352877abd90cd0c79a2fa1ef214a1;p=kivitendo-erp.git 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;