Added before test reading model files for hasMany relations
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 26s

This commit is contained in:
dhanabalan
2026-08-21 09:20:12 +05:30
parent 70848bb10a
commit a13fb8330c
4 changed files with 59 additions and 42 deletions

View File

@@ -51,6 +51,11 @@ class Line extends Model
return $this->hasMany(TestingPanelReading::class);
}
public function beforeTestReadings()
{
return $this->hasMany(BeforeTestReading::class);
}
public function workGroupMasters(): BelongsTo
{
return $this->belongsTo(WorkGroupMaster::class);