<?php

declare(strict_types=1);

namespace App\Module\Mail\Application\Dto;

use DateTimeImmutable;

final readonly class MailSyncReport
{
    /**
     * @param list<string> $errors
     */
    public function __construct(
        public int $createdCount,
        public int $updatedCount,
        public int $deletedCount,
        public int $foldersScanned,
        public array $errors,
        public float $durationSeconds,
        public DateTimeImmutable $startedAt,
        public DateTimeImmutable $finishedAt,
    ) {}
}
