diff --git a/app/Models/Item.php b/app/Models/Item.php index bfba54e..c23546e 100644 --- a/app/Models/Item.php +++ b/app/Models/Item.php @@ -129,4 +129,9 @@ class Item extends Model { return $this->hasMany(CoilPacking::class, 'item_id', 'id'); } + + public function productionTemp() + { + return $this->hasMany(ProductionTemp::class, 'item_id', 'id'); + } }