<?php

namespace Database\Seeders;

use App\Models\Plan;
use Illuminate\Database\Seeder;

class PlanSeeder extends Seeder
{
    public function run(): void
    {
        Plan::query()->firstOrCreate(['name' => 'MediBook Dental Pro'], [
            'price_monthly' => 3500,       // $35.00 — editable in super admin
            'price_monthly_iqd' => 50000,  // 50,000 IQD — editable in super admin
            'trial_days' => 14,
            'limits' => [
                'dentists' => 5,
                'staff' => 8,
                'wa_messages_month' => 1500,
                'storage_gb' => 10,
            ],
            'is_active' => true,
        ]);
    }
}
