<?php

declare(strict_types=1);

namespace {{ tree.getFullNameSpaceOfFile(file, entity, action) }};

use App\Base\AbstractResponse;
{% for dependency in dependencyzz %}
use {{ dependency }};{% endfor %}

class {{ helper.getClassName(file, entity, action) }} extends AbstractResponse
{
    /**
     * @param {{ helper.getClassName(helper.findFile('Model'), entity, action) }} $Item
     * @return array<string, mixed>
     */
    public static function getData($Item): array
    {
        return [
{% for column in columnzz %}
            '{{ column.alias }}' => $Item->{{ column.name }},
{% endfor %}
        ];
    }
}
