<?php

require __DIR__.'/vendor/autoload.php';
$app = require_once __DIR__.'/bootstrap/app.php';
$app->make('Illuminate\Contracts\Console\Kernel')->bootstrap();

use App\Models\User;

$user7 = User::find(7);
echo "Admin KCD User Info:\n";
echo "Email: {$user7->email}\n";
echo "Name: {$user7->name}\n";
echo "KCD ID: {$user7->kcd_id}\n";
echo "\n";

$user3 = User::find(3);
echo "Admin KCD User Info (ID 3):\n";
echo "Email: {$user3->email}\n";
echo "Name: {$user3->name}\n";
echo "KCD ID: " . ($user3->kcd_id ?? 'NULL') . "\n";
