1
0
forked from poc/pds

Added testingPanelReadings hasMany relation

This commit is contained in:
dhanabalan
2025-05-31 16:48:18 +05:30
parent 0fa0a9c128
commit 5f79050b3f

View File

@@ -54,4 +54,9 @@ class MotorTestingMaster extends Model
{ {
return $this->belongsTo(Item::class); return $this->belongsTo(Item::class);
} }
public function testingPanelReadings()
{
return $this->hasMany(TestingPanelReading::class, 'motor_testing_master_id');
}
} }