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

24 lines
419 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 BugTrackerImage extends Model
{
use HasFactory;
protected $fillable = [
'large',
'medium',
'thumbnail',
'bug_tracker_id'
];
public function bugTracker()
{
return $this->belongsTo(BugTracker::class, 'bug_tracker_id');
}
}