Added relationship of production temp in plant model file
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s
This commit is contained in:
@@ -238,4 +238,9 @@ class Plant extends Model
|
|||||||
{
|
{
|
||||||
return $this->hasMany(CoilPacking::class, 'plant_id', 'id');
|
return $this->hasMany(CoilPacking::class, 'plant_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function productionTemp()
|
||||||
|
{
|
||||||
|
return $this->hasMany(ProductionTemp::class, 'plant_id', 'id');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user