Added testingPanelReadings hasMany relation
This commit is contained in:
@@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user