Merge pull request 'Added asrs relation in plant model file' (#647) from ranjith-dev into master
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Reviewed-on: #647
This commit was merged in pull request #647.
This commit is contained in:
@@ -168,4 +168,8 @@ class Plant extends Model
|
||||
{
|
||||
return $this->hasMany(VehicleEntry::class, 'plant_id', 'id');
|
||||
}
|
||||
public function asrsItemValidations()
|
||||
{
|
||||
return $this->hasMany(AsrsItemValidation::class, 'plant_id', 'id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user