Files
ProxyPanel/app/Models/SsNodeInfo.php
兔姬桑 71828a0ac5 数据库改版 +Rule 编辑相关 (Rule未实际应用)
1. 规范化数据库数据;
2. 添加Rule相关页面
为未来加入web api做准备
2020-08-05 03:20:33 +08:00

32 lines
930 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
/**
* SS节点负载情况
*
* @property int $id
* @property int $node_id 节点ID
* @property int $uptime 后端存活时长,单位秒
* @property string $load 负载
* @property int $log_time 记录时间
* @method static Builder|SsNodeInfo newModelQuery()
* @method static Builder|SsNodeInfo newQuery()
* @method static Builder|SsNodeInfo query()
* @method static Builder|SsNodeInfo whereId($value)
* @method static Builder|SsNodeInfo whereLoad($value)
* @method static Builder|SsNodeInfo whereLogTime($value)
* @method static Builder|SsNodeInfo whereNodeId($value)
* @method static Builder|SsNodeInfo whereUptime($value)
* @mixin \Eloquent
*/
class SsNodeInfo extends Model {
public $timestamps = false;
protected $table = 'ss_node_info';
protected $primaryKey = 'id';
}