<?php

namespace App\Modules\HR\Compensation\DTOs;

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

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