Added product char master relation in plant model
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s
Gemini PR Review / Gemini PR Review (pull_request) Successful in 16s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 12s
Laravel Larastan / larastan (pull_request) Failing after 4m45s
Laravel Pint / pint (pull_request) Failing after 5m18s

This commit is contained in:
dhanabalan
2026-09-20 15:12:57 +05:30
parent 4118c26397
commit 973a69c944

View File

@@ -122,4 +122,9 @@ class Plant extends Model
{
return $this->hasMany(Machine::class, 'plant_id', 'id');
}
public function productCharacteristicsMasters()
{
return $this->hasMany(ProductCharacteristicsMaster::class, 'plant_id', 'id');
}
}