mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-14 19:40:53 +08:00
34 lines
609 B
PHP
34 lines
609 B
PHP
<?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
|
|
*/
|
|
class Plugin extends Model
|
|
{
|
|
protected $table = 'v2_plugins';
|
|
|
|
protected $guarded = [
|
|
'id',
|
|
'created_at',
|
|
'updated_at',
|
|
];
|
|
|
|
protected $casts = [
|
|
'is_enabled' => 'boolean'
|
|
];
|
|
}
|