<?php

declare(strict_types=1);

namespace ImovelZapAi\Publishing\Application\Data;

final readonly class PropertyPublicationHistoryData
{
    /**
     * @param  list<PropertyPublicationHistoryItemData>  $items
     */
    public function __construct(
        public array $items,
    ) {}

    public function isEmpty(): bool
    {
        return $this->items === [];
    }
}
