<?php

declare(strict_types=1);

namespace ImovelZapAi\Importing\Application\Data;

use ImovelZapAi\Importing\Domain\Enums\ImportItemResult;

final readonly class ImportWriteResult
{
    /**
     * @param  array<string, mixed>|null  $diffBefore
     * @param  array<string, mixed>|null  $diffAfter
     */
    public function __construct(
        public ImportItemResult $result,
        public ?string $propertyId,
        public int $photosImported,
        public ?array $diffBefore = null,
        public ?array $diffAfter = null,
        public ?string $message = null,
    ) {}
}
