mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-12-05 08:44:59 -06:00
- Modify storage driver name and location - Add option to select patchline - Add option to mark file for delete - Add option to delete file from the server - Small UI adjustments to new added options
27 lines
481 B
PHP
27 lines
481 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use App\Enums\Launcher\FileAction;
|
|
use App\Enums\Launcher\Patchline;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* @mixin IdeHelperGameFile
|
|
*/
|
|
class GameFile extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
/**
|
|
* The attributes that should be cast.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $casts = [
|
|
'patchline' => Patchline::class,
|
|
'action' => FileAction::class,
|
|
];
|
|
}
|