feat: implement missing CommandDefinition and ConsolePlayerCache Eloquent models

This commit is contained in:
2026-06-11 22:28:26 -05:00
parent 73a84d762f
commit acdb9fd9c2
2 changed files with 155 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace Pterodactyl\Addons\AdvancedAdmin\Models;
use Illuminate\Database\Eloquent\Model;
class ConsolePlayerCache extends Model
{
protected $table = 'addon_console_player_cache';
protected $primaryKey = null;
public $incrementing = false;
public $timestamps = false;
protected $fillable = [
'server_id',
'player_name',
'last_seen_at',
];
protected $casts = [
'server_id' => 'integer',
'last_seen_at' => 'datetime',
];
}