mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-11 23:19:05 +00:00
1. 框架更新至5.8,并且其涉及代码进行修改; 2. 对支付的alipay组件针对php7.2/3进行修改; 3. 重构了节点信息获取逻辑;现在为实时请求; 4. 代码小细节和命名规范
35 lines
954 B
PHP
35 lines
954 B
PHP
<?php
|
|
|
|
namespace App\Http\Models;
|
|
|
|
use Eloquent;
|
|
use Illuminate\Database\Eloquent\Builder;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Support\Carbon;
|
|
|
|
/**
|
|
* SS节点分组
|
|
* Class SsNodeGroup
|
|
*
|
|
* @package App\Http\Models
|
|
* @mixin Eloquent
|
|
* @property int $id
|
|
* @property string $name 分组名称
|
|
* @property int $level 分组级别
|
|
* @property Carbon|null $created_at
|
|
* @property Carbon|null $updated_at
|
|
* @method static Builder|SsGroup newModelQuery()
|
|
* @method static Builder|SsGroup newQuery()
|
|
* @method static Builder|SsGroup query()
|
|
* @method static Builder|SsGroup whereCreatedAt($value)
|
|
* @method static Builder|SsGroup whereId($value)
|
|
* @method static Builder|SsGroup whereLevel($value)
|
|
* @method static Builder|SsGroup whereName($value)
|
|
* @method static Builder|SsGroup whereUpdatedAt($value)
|
|
*/
|
|
class SsGroup extends Model
|
|
{
|
|
protected $table = 'ss_group';
|
|
protected $primaryKey = 'id';
|
|
|
|
} |