]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/Part.pm
Verknüpfung zu Preisfaktoren ergänzt
[kivitendo-erp.git] / SL / DB / Part.pm
index ce9738f322fc67734672eba4db07a3affb3d37cb..4c3f4633a25cca4d1b581c7ec3d9eca9b6ef0de3 100644 (file)
@@ -23,6 +23,11 @@ __PACKAGE__->meta->add_relationships(
     class        => 'SL::DB::PartsGroup',
     column_map   => { partsgroup_id => 'id' },
   },
+  price_factor   => {
+    type         => 'one to one',
+    class        => 'SL::DB::PriceFactor',
+    column_map   => { price_factor_id => 'id' },
+  },
 );
 
 __PACKAGE__->meta->initialize;