<?php

namespace App\Services\Verification\DTOs;

readonly class AadhaarVerificationResult
{
    public function __construct(
        public bool $valid,
        public string $aadhaarNumber,
        public ?string $fullName = null,
        public ?string $gender = null,
        public ?string $dob = null, // YYYY-MM-DD
        public ?array $address = null, // line1, city, state, pincode, etc.
        public ?string $photoBase64 = null,
        public array $rawData = []
    ) {}
}
