<?php
/*
 * Copyright 2026 Alessandro Chiapparini <sprint_planer_web@chiapparini.org>
 * SPDX-License-Identifier: Apache-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * See the LICENSE file in the project root for the full license text.
 */

declare(strict_types=1);

namespace App\Domain\Import;

final class ParsedTask
{
    /**
     * @param list<ParsedAssignment> $assignments only cells with days > 0 OR a non-default status
     */
    public function __construct(
        public readonly string  $title,
        public readonly ?string $ownerName,
        public readonly int     $priority,
        public readonly array   $assignments,
    ) {
    }
}
