<?php

namespace App\Modules\HR\Training\DTOs;

final readonly class TrainingData
{
    public function __construct(public array $attributes) {}

    public static function fromValidated(array $data): self
    {
        return new self($data);
    }
}
