build: initialize RetroHub with Laravel, Inertia, Vue, and Horizon

This commit is contained in:
2026-08-10 13:45:18 +02:00
commit 717db65139
218 changed files with 28356 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
<?php
namespace App\Features\Games\Models;
use Database\Factories\RomFileFactory;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class RomFile extends Model
{
/** @use HasFactory<RomFileFactory> */
use HasFactory;
protected static ?string $factory = RomFileFactory::class;
protected $fillable = [
'game_id',
'file_path',
'file_name',
'file_size',
'file_hash',
'region',
'language',
];
public function game(): BelongsTo
{
return $this->belongsTo(Game::class);
}
}