*/ use HasFactory; protected static ?string $factory = SaveFileFactory::class; protected $fillable = [ 'user_id', 'game_id', 'file_path', 'file_name', 'file_size', 'last_synced_at', ]; protected $casts = [ 'last_synced_at' => 'datetime', ]; public function user(): BelongsTo { return $this->belongsTo(User::class); } public function game(): BelongsTo { return $this->belongsTo(Game::class); } }