2025-05-05 12:58:55 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Relations\Pivot;
|
|
|
|
|
|
2026-03-17 09:09:01 +01:00
|
|
|
/**
|
|
|
|
|
* @property int $node_id
|
|
|
|
|
* @property int $role_id
|
|
|
|
|
*
|
|
|
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|NodeRole newModelQuery()
|
|
|
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|NodeRole newQuery()
|
|
|
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|NodeRole query()
|
|
|
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|NodeRole whereNodeId($value)
|
|
|
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|NodeRole whereRoleId($value)
|
|
|
|
|
*/
|
2025-05-05 12:58:55 +02:00
|
|
|
class NodeRole extends Pivot
|
|
|
|
|
{
|
|
|
|
|
protected $table = 'node_role';
|
|
|
|
|
|
|
|
|
|
protected $primaryKey = null;
|
|
|
|
|
}
|