mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-04 19:49:16 +00:00
21 lines
304 B
PHP
21 lines
304 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);
|
|
}
|
|
}
|