<?php

declare(strict_types=1);

namespace App\Module\Mail\Application\Dto;

final readonly class MailMessageDetailDto
{
    /**
     * @param list<MailAttachmentDto> $attachments
     */
    public function __construct(
        public MailMessageHeaderDto $header,
        public ?string $bodyHtml,
        public ?string $bodyText,
        public array $attachments,
    ) {}
}
