mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-07 04:59:36 +00:00
23 lines
306 B
PHP
23 lines
306 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* 标签.
|
|
*/
|
|
class Label extends Model
|
|
{
|
|
public $timestamps = false;
|
|
|
|
protected $table = 'label';
|
|
|
|
protected $guarded = [];
|
|
|
|
public function nodes()
|
|
{
|
|
return $this->belongsToMany(Node::class);
|
|
}
|
|
}
|