turtle-wow-source-kinda/Dumps/Source Code/8 - Development_website/develop/app/Models/BugTrackerLink.php
Brian Oost a1d5bb70b2 Init
2024-08-06 18:06:40 +02:00

25 lines
463 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class BugTrackerLink extends Model
{
use HasFactory;
protected $table = 'bug_tracker_links';
protected $fillable = [
'bug_tracker_id',
'linked_bug_tracker_id',
'type',
];
public function bugTracker()
{
return $this->belongsTo(BugTracker::class, 'bug_tracker_id', 'id');
}
}