Added product char master relation in item model file #240
@@ -55,4 +55,9 @@ class Item extends Model
|
|||||||
{
|
{
|
||||||
return $this->hasMany(ItemCharacteristic::class, 'item_id', 'id');
|
return $this->hasMany(ItemCharacteristic::class, 'item_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function productCharacteristicsMasters()
|
||||||
|
{
|
||||||
|
return $this->hasMany(ProductCharacteristicsMaster::class);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user