Merge pull request 'Added characteristic value relation in plant model file' (#214) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s

Reviewed-on: #214
This commit was merged in pull request #214.
This commit is contained in:
2026-09-20 05:59:53 +00:00

View File

@@ -112,4 +112,9 @@ class Plant extends Model
{
return $this->hasMany(ProcessOrder::class, 'plant_id', 'id');
}
public function characteristicValues()
{
return $this->hasMany(CharacteristicValue::class, 'plant_id', 'id');
}
}