Added characteristic value relation in plant model file #214

Merged
jothi merged 1 commits from ranjith-dev into master 2026-09-20 05:59:53 +00:00

View File

@@ -112,4 +112,9 @@ class Plant extends Model
{ {
return $this->hasMany(ProcessOrder::class, 'plant_id', 'id'); return $this->hasMany(ProcessOrder::class, 'plant_id', 'id');
} }
public function characteristicValues()
{
return $this->hasMany(CharacteristicValue::class, 'plant_id', 'id');
}
} }