<?php

use App\Models\AdPackage;

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

// Seed a test package
AdPackage::create([
    'name' => 'Starter Pack',
    'slug' => 'starter-pack',
    'type' => 'multiple_ads',
    'description' => 'Great for beginners. Post 5 ads.',
    'features' => ['post_limit' => 5],
    'algorithm_params' => [],
    'is_active' => true,
    'sort_order' => 1
]);

echo "Test Package created.\n";
