first commit

This commit is contained in:
2025-04-09 23:03:16 +03:00
commit 909d514552
129 changed files with 17249 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
class Genre extends Model
{
use HasFactory;
protected $fillable = [
'igdb_id',
'name',
'slug',
];
public function games(): BelongsToMany
{
return $this->belongsToMany(Game::class);
}
}