ldc-gen-game-web/app/Models/Range.php
Jérémy Munsch 1af96897f3
- Squash migration
- Normalize Model names and sql tables
- PHPCS clean up
- Change analytics form + field
2022-01-11 12:46:10 +01:00

20 lines
317 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Range extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['name'];
public function products()
{
return $this->hasMany(Product::class);
}
}