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