<?php

declare(strict_types=1);

namespace App\Module\ProjectManagement\Infrastructure\ApiPlatform\Resource;

use Symfony\Component\Serializer\Attribute\Groups;

final class SwitchWorkflowOutput
{
    #[Groups(['switch_workflow:read'])]
    public int $projectId;

    #[Groups(['switch_workflow:read'])]
    public int $workflowId;

    #[Groups(['switch_workflow:read'])]
    public int $migratedTaskCount;

    public function __construct(int $projectId, int $workflowId, int $migratedTaskCount)
    {
        $this->projectId         = $projectId;
        $this->workflowId        = $workflowId;
        $this->migratedTaskCount = $migratedTaskCount;
    }
}
