<?php

declare(strict_types=1);

namespace App\GraphQL\Schema\Fields\Auth\User\Me;

use App\GraphQL\Schema\Fields\DateTimeTzField;
use App\Models\Auth\User;

class MeTwoFactorConfirmedAtField extends DateTimeTzField
{
    public function __construct()
    {
        parent::__construct(User::ATTRIBUTE_TWO_FACTOR_CONFIRMED_AT, nullable: false);
    }

    public function description(): string
    {
        return 'The date the user confirmed their two-factor authentication';
    }
}
