Added process order relation in plant model file
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 13s
Gemini PR Review / Gemini PR Review (pull_request) Successful in 19s
Laravel Pint / pint (pull_request) Failing after 2m58s
Laravel Larastan / larastan (pull_request) Failing after 3m44s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 13s
Gemini PR Review / Gemini PR Review (pull_request) Successful in 19s
Laravel Pint / pint (pull_request) Failing after 2m58s
Laravel Larastan / larastan (pull_request) Failing after 3m44s
This commit is contained in:
@@ -107,4 +107,9 @@ class Plant extends Model
|
|||||||
{
|
{
|
||||||
return $this->hasMany(ItemCharacteristic::class, 'plant_id', 'id');
|
return $this->hasMany(ItemCharacteristic::class, 'plant_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function processOrders()
|
||||||
|
{
|
||||||
|
return $this->hasMany(ProcessOrder::class, 'plant_id', 'id');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user