added ref of panel gr master in item model
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 20s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 18s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 15s
Laravel Pint / pint (pull_request) Successful in 2m59s
Laravel Larastan / larastan (pull_request) Failing after 4m39s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 20s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 18s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 15s
Laravel Pint / pint (pull_request) Successful in 2m59s
Laravel Larastan / larastan (pull_request) Failing after 4m39s
This commit is contained in:
@@ -91,11 +91,22 @@ class Item extends Model
|
|||||||
|
|
||||||
public function tempClassCharacteristics()
|
public function tempClassCharacteristics()
|
||||||
{
|
{
|
||||||
return $this->hasMany(TempClassCharacteristic::class, 'plant_id', 'id');
|
return $this->hasMany(TempClassCharacteristic::class, 'item_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function weightValidations()
|
public function weightValidations()
|
||||||
{
|
{
|
||||||
return $this->hasMany(WeightValidation::class);
|
return $this->hasMany(WeightValidation::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function locatorValidations()
|
||||||
|
{
|
||||||
|
return $this->hasMany(LocatorValidation::class, 'item_id', 'id');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function panelGrMasters()
|
||||||
|
{
|
||||||
|
return $this->hasMany(PanelGrMaster::class, 'item_id', 'id');
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user