mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-12 23:48:53 +00:00
23 lines
413 B
PHP
23 lines
413 B
PHP
<?php
|
|
|
|
namespace App\Http\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* 节点每日流量统计
|
|
* Class SsUserTrafficHourly
|
|
*
|
|
* @package App\Http\Models
|
|
* @mixin \Eloquent
|
|
*/
|
|
class SsNodeTrafficHourly extends Model
|
|
{
|
|
protected $table = 'ss_node_traffic_hourly';
|
|
protected $primaryKey = 'id';
|
|
|
|
function info()
|
|
{
|
|
return $this->hasOne(SsNode::class, 'id', 'node_id');
|
|
}
|
|
} |