diff --git a/app/Models/Item.php b/app/Models/Item.php index d1be971e8..bacec0f66 100644 --- a/app/Models/Item.php +++ b/app/Models/Item.php @@ -32,6 +32,12 @@ class Item extends Model { return $this->hasMany(ProductionQuantity::class); } + + public function motorTestingMasters() + { + return $this->hasMany(MotorTestingMaster::class); + } + public function testingPanelReadings() { return $this->hasMany(TestingPanelReading::class);