belongsTo(SsNode::class, 'node_id', 'id'); } function user() { return $this->belongsTo(User::class, 'port', 'port'); } }