mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-12 23:48:53 +00:00
23 lines
369 B
PHP
23 lines
369 B
PHP
<?php
|
|
|
|
namespace App\Http\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* SS节点信息
|
|
* Class SsNode
|
|
*
|
|
* @package App\Http\Models
|
|
* @mixin \Eloquent
|
|
*/
|
|
class SsNode extends Model
|
|
{
|
|
protected $table = 'ss_node';
|
|
protected $primaryKey = 'id';
|
|
|
|
function label()
|
|
{
|
|
return $this->hasMany(SsNodeLabel::class, 'node_id', 'id');
|
|
}
|
|
} |