diff --git a/app/Models/Plant.php b/app/Models/Plant.php index 493df50..a28403b 100644 --- a/app/Models/Plant.php +++ b/app/Models/Plant.php @@ -112,4 +112,9 @@ class Plant extends Model { return $this->hasMany(ProcessOrder::class, 'plant_id', 'id'); } + + public function characteristicValues() + { + return $this->hasMany(CharacteristicValue::class, 'plant_id', 'id'); + } }