Added coil packing method in plant model file
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 21s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 12s
Laravel Pint / pint (pull_request) Successful in 3m56s
Laravel Larastan / larastan (pull_request) Failing after 4m13s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 21s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 12s
Laravel Pint / pint (pull_request) Successful in 3m56s
Laravel Larastan / larastan (pull_request) Failing after 4m13s
This commit is contained in:
@@ -189,6 +189,11 @@ class Plant extends Model
|
||||
return $this->hasMany(TempClassCharacteristic::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
// public function tempStopCharacteristics()
|
||||
// {
|
||||
// return $this->hasMany(TempStopCharacteristic::class, 'plant_id', 'id');
|
||||
// }
|
||||
|
||||
public function users()
|
||||
{
|
||||
return $this->hasMany(User::class, 'plant_id', 'id');
|
||||
@@ -228,4 +233,9 @@ class Plant extends Model
|
||||
{
|
||||
return $this->hasMany(PanelBoxValidation::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function coilPacking()
|
||||
{
|
||||
return $this->hasMany(CoilPacking::class, 'plant_id', 'id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user