<?php

namespace App\Modules\HR\Loans\DTOs;

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

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