ldc-startcoq/app/Models/Brand.php
2023-02-23 16:12:54 +01:00

30 lines
493 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* @property integer $id
* @property string $brand
* @property string $filter
* @property Promo[] $promos
*/
class Brand extends Model
{
/**
* @var array
*/
protected $fillable = [
'brand',
'filter'
];
/**
* @return \Illuminate\Database\Eloquent\Relations\HasMany
*/
public function promos()
{
return $this->hasMany('App\Models\Promo');
}
}