Files
opensem/app/Models/Shop/Variety.php
Ludovic CANDELLIER d218125165 Add varieties
2020-04-14 01:24:37 +02:00

16 lines
281 B
PHP

<?php
namespace App\Models\Shop;
use Illuminate\Database\Eloquent\Model;
class Variety extends Model
{
protected $guarded = ['id'];
protected $table = 'shop_product_varieties';
public function Specie()
{
return $this->belongsTo('App\Models\Shop\Specie');
}
}