mirror of
https://github.com/jez500/pricebuddy.git
synced 2026-11-24 19:58:13 +01:00
Declutter the test modal and make the scraper selection reactive so changing it re-tests the URL. - Test-only scraper dropdown overrides the scraper for the test run - AI extraction returns a product description shown in the table - Record tested URL / effective scraper; loading indicator while re-scraping, scoped to scraper changes only
19 lines
416 B
PHP
19 lines
416 B
PHP
<?php
|
|
|
|
namespace App\Dto;
|
|
|
|
use App\Enums\StockStatus;
|
|
|
|
class AiExtractionResultDto
|
|
{
|
|
public function __construct(
|
|
public ?string $title = null,
|
|
public ?string $description = null,
|
|
public ?float $price = null,
|
|
public ?string $currency = null,
|
|
public ?string $image = null,
|
|
public ?StockStatus $stockStatus = null,
|
|
public float $confidence = 0.0,
|
|
) {}
|
|
}
|