Files
opensem/app/Models/Shop/PriceGenericCategory.php
2020-08-31 00:44:29 +02:00

18 lines
336 B
PHP

<?php
namespace App\Models\Shop;
use Illuminate\Database\Eloquent\Model;
class PriceGenericCategory extends Model
{
protected $guarded = ['id'];
protected $table = 'shop_price_generic_categories';
public function price_generics()
{
return $this->hasMany('App\Models\Shop\PriceGeneric','category_id');
}
}