2026-05-29 00:33:00 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
2026-05-29 09:37:07 +03:00
|
|
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
2026-05-29 00:33:00 +03:00
|
|
|
|
|
|
|
|
class GameScreenshot extends Model
|
|
|
|
|
{
|
2026-05-29 09:37:07 +03:00
|
|
|
protected $fillable = ['game_id', 'url', 'thumb_url', 'order'];
|
|
|
|
|
|
|
|
|
|
public function game(): BelongsTo
|
|
|
|
|
{
|
|
|
|
|
return $this->belongsTo(Game::class);
|
|
|
|
|
}
|
2026-05-29 00:33:00 +03:00
|
|
|
}
|