Added characteristic value relation in plant model file #214
@@ -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');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user