feat: implement missing CommandDefinition and ConsolePlayerCache Eloquent models
This commit is contained in:
25
app/Addons/AdvancedAdmin/Models/ConsolePlayerCache.php
Normal file
25
app/Addons/AdvancedAdmin/Models/ConsolePlayerCache.php
Normal 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',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user