<?php

declare(strict_types=1);

namespace App\Module\Mail\Application\Dto;

use DateTimeImmutable;

final readonly class MailMessageHeaderDto
{
    public function __construct(
        public int $uid,
        public string $messageId,
        public ?string $subject,
        public string $fromAddress,
        public ?string $fromName,
        public array $toAddresses,
        public ?array $ccAddresses,
        public DateTimeImmutable $sentAt,
        public bool $isRead,
        public bool $isFlagged,
        public bool $hasAttachments,
        public ?string $snippet,
    ) {}
}
