<?php

namespace Velis\Dto\Common\Result;

use Spatie\DataTransferObject\DataTransferObject;
use Velis\Dto\BaseDto;
use Velis\Dto\Utility\Optional;

class Result extends BaseDto
{
    /**
     * Some custom metadata
     */
    public null|Optional|array $metadata;

    public BaseDto|array|DataTransferObject $data; // TODO: Remove DataTransferObject when all DTOs are converted to BaseDto
}
