turtle-wow-source-kinda/Dumps/Source Code/8 - Development_website/develop/app/Models/BugTrackerLink.php

25 lines
463 B
PHP
Raw Normal View History

2024-08-06 16:06:40 +00:00
<?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');
}
}