Verknüpfung zu Preisfaktoren ergänzt
[kivitendo-erp.git] / SL / DB / Part.pm
index ce9738f..4c3f463 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;