diff --git a/app/Models/Plant.php b/app/Models/Plant.php index fb4566e..3bd687b 100644 --- a/app/Models/Plant.php +++ b/app/Models/Plant.php @@ -127,4 +127,9 @@ class Plant extends Model { return $this->hasMany(ProductCharacteristicsMaster::class, 'plant_id', 'id'); } + + public function productionCharacteristics() + { + return $this->hasMany(ProductionCharacteristic::class, 'plant_id', 'id'); + } }