<?php

declare(strict_types=1);

namespace App\Services\Sitemaps;

use DateTimeInterface;

final readonly class SitemapUrl
{
    /**
     * @param  list<SitemapImage>  $images
     */
    public function __construct(
        public string $loc,
        public ?DateTimeInterface $lastModified = null,
        public array $images = [],
    ) {}
}