<?php

namespace App\Domain\Setting\Application\Command;

readonly class UpsertContentSourceCommand
{
    public function __construct(
        public ?int $id,
        public string $baseUrl,
        public string $chapterUrlFormat,
        public string $scrapingType,
        public ?string $imageSelector = null,
        public ?string $nextPageSelector = null,
        public ?string $chapterSelector = null,
        public ?string $testSlug = null,
        public ?float $testChapterNumber = null,
    ) {
    }
}
