X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/98b64fe1e380c232428d63cea0eb5f44b1d1a2c3..a89af9c2a38f19bc2834a2e09a286ff36c9ef3d7:/SL/DB/Part.pm diff --git a/SL/DB/Part.pm b/SL/DB/Part.pm index d6ffc3547..8b149ad4c 100644 --- a/SL/DB/Part.pm +++ b/SL/DB/Part.pm @@ -38,6 +38,11 @@ __PACKAGE__->meta->add_relationships( class => 'SL::DB::Translation', column_map => { id => 'parts_id' }, }, + assortment_items => { + type => 'one to many', + class => 'SL::DB::AssortmentItem', + column_map => { id => 'assortment_id' }, + }, ); __PACKAGE__->meta->initialize;