mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-08 15:00:50 +08:00
- Fix known bugs in user, plan, and server modules - Standardize code formatting and structure - Optimize database queries and model relationships - Improve request validation and error handling - Update admin controllers for better consistency
21 lines
299 B
PHP
21 lines
299 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Plugin extends Model
|
|
{
|
|
protected $table = 'v2_plugins';
|
|
|
|
protected $guarded = [
|
|
'id',
|
|
'created_at',
|
|
'updated_at',
|
|
];
|
|
|
|
protected $casts = [
|
|
'is_enabled' => 'boolean'
|
|
];
|
|
}
|