Xboard/app/Models/StatServer.php
xboard 0f43fff242
Some checks are pending
Docker Build and Publish / build (push) Waiting to run
feat: new xboard
2025-01-21 14:57:54 +08:00

22 lines
421 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class StatServer extends Model
{
protected $table = 'v2_stat_server';
protected $dateFormat = 'U';
protected $guarded = ['id'];
protected $casts = [
'created_at' => 'timestamp',
'updated_at' => 'timestamp'
];
public function server()
{
return $this->belongsTo(Server::class, 'server_id');
}
}