Files
Xboard/app/Models/Plugin.php

34 lines
609 B
PHP
Raw Normal View History

2025-01-21 14:57:54 +08:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* @property int $id
* @property string $code
* @property string $name
* @property string $description
* @property string $version
* @property string $author
* @property string $url
* @property string $email
* @property string $license
* @property string $requires
* @property string $config
*/
2025-01-21 14:57:54 +08:00
class Plugin extends Model
{
protected $table = 'v2_plugins';
protected $guarded = [
'id',
'created_at',
'updated_at',
];
protected $casts = [
'is_enabled' => 'boolean'
2025-01-21 14:57:54 +08:00
];
}