Added testingPanelReadings hasMany relation

This commit is contained in:
dhanabalan
2025-05-31 11:05:52 +05:30
parent 84ac80a18a
commit 26c76eb539

View File

@@ -21,4 +21,9 @@ class Line extends Model
{ {
return $this->belongsTo(Plant::class); return $this->belongsTo(Plant::class);
} }
public function testingPanelReadings()
{
return $this->hasMany(TestingPanelReading::class);
}
} }