mirror of
https://github.com/brian8544/turtle-wow.git
synced 2025-01-03 21:34:35 +00:00
24 lines
419 B
PHP
24 lines
419 B
PHP
<?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');
|
|
}
|
|
}
|